mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 10:10:45 -06:00
update flag help
This commit is contained in:
parent
a027cdd282
commit
91f5b3c059
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ var rootCmd = &cobra.Command{
|
|||
Short: "nix begat oizys",
|
||||
PersistentPreRun: func(cmd *cobra.Command, args []string) {
|
||||
if debug {
|
||||
log.Info("running with verbose mode")
|
||||
log.Info("running in debug mode")
|
||||
log.SetLevel(log.DebugLevel)
|
||||
}
|
||||
oizys.SetFlake(flake)
|
||||
|
@ -76,7 +76,7 @@ func init() {
|
|||
|
||||
rootCmd.CompletionOptions.HiddenDefaultCmd = true
|
||||
rootCmd.PersistentFlags().StringVar(&flake, "flake", "", "path to flake ($OIZYS_DIR or $HOME/oizys)")
|
||||
rootCmd.PersistentFlags().StringVar(&host, "host", "", "host to build (current host)")
|
||||
rootCmd.PersistentFlags().StringVar(&host, "host", "", "host(s) to build (current host)")
|
||||
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "show verbose output")
|
||||
rootCmd.PersistentFlags().BoolVar(&debug, "debug", false, "show debug output")
|
||||
rootCmd.PersistentFlags().BoolVar(&resetCache, "reset-cache", false, "set narinfo-cache-negative-ttl to 0")
|
||||
|
|
Loading…
Reference in a new issue