We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52a02a7 commit 8773a99Copy full SHA for 8773a99
cmd/gh/main.go
@@ -39,11 +39,15 @@ func main() {
39
40
cmd, _, err := command.RootCmd.Traverse(expandedArgs)
41
if err != nil || cmd == command.RootCmd {
42
+ originalArgs := expandedArgs
43
expandedArgs, err = command.ExpandAlias(os.Args)
44
if err != nil {
45
fmt.Fprintf(stderr, "failed to process aliases: %s\n", err)
46
os.Exit(2)
47
}
48
+ if hasDebug {
49
+ fmt.Fprintf(stderr, "%v -> %v\n", originalArgs, expandedArgs)
50
+ }
51
52
53
command.RootCmd.SetArgs(expandedArgs)
0 commit comments