@@ -40,7 +40,7 @@ func main() {
|
|||||||
global := args.Bool("global", false, "--global: use the global environment")
|
global := args.Bool("global", false, "--global: use the global environment")
|
||||||
shell := args.Bool("shell", false, "--shell: in a single-line for usage in command-line utilities [deprecated]")
|
shell := args.Bool("shell", false, "--shell: in a single-line for usage in command-line utilities [deprecated]")
|
||||||
export := args.Bool("export", false, "--export: print the env as eval-compatible exports [deprecated]")
|
export := args.Bool("export", false, "--export: print the env as eval-compatible exports [deprecated]")
|
||||||
merged := args.Bool("merged", false, "--merged: display the app's envionment merged with the global environment")
|
merged := args.Bool("merged", false, "--merged: display the app's environment merged with the global environment")
|
||||||
args.Parse(os.Args[2:])
|
args.Parse(os.Args[2:])
|
||||||
config.CommandShow(args.Args(), *global, *shell, *export, *merged)
|
config.CommandShow(args.Args(), *global, *shell, *export, *merged)
|
||||||
case "help":
|
case "help":
|
||||||
|
|||||||
Reference in New Issue
Block a user