File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ var aliasCmd = &cobra.Command{
2121
2222var aliasSetCmd = & cobra.Command {
2323 Use : "set <alias> <expansion>" ,
24- // TODO HACK: even when inside of a single-quoted string, cobra was noticing and parsing any flags
24+ // NB: Even when inside of a single-quoted string, cobra was noticing and parsing any flags
2525 // used in an alias expansion string argument. Since this command needs no flags, I disabled their
26- // parsing. If we ever want to add flags to alias set we'll have to figure this out. I haven't
27- // checked if this is fixed in a new cobra .
26+ // parsing. If we ever want to add flags to alias set we'll have to figure this out. I tested on
27+ // linux in various shells against cobra 1.0; others on macos did /not/ see the same behavior .
2828 DisableFlagParsing : true ,
2929 Short : "Create a shortcut for a gh command" ,
3030 Long : `
You can’t perform that action at this time.
0 commit comments