Procházet zdrojové kódy

realized that this does not support relative paths very well. will figure that one out a bit later - DK

Signed-off-by: Andrew Kutta <andrew.kutta@gmail.com>
Andrew Kutta před 6 roky
rodič
revize
bf9db21ed2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      cmd/hercules/root.go

+ 1 - 1
cmd/hercules/root.go

@@ -446,7 +446,7 @@ func init() {
 	rootFlags.Bool("quiet", !terminal.IsTerminal(int(os.Stdin.Fd())),
 		"Do not print status updates to stderr.")
 	rootFlags.Bool("profile", false, "Collect the profile to hercules.pprof.")
-	rootFlags.String("ssh-identity", "", "Specify ssh identity file for cloning with ssh options")
+	rootFlags.String("ssh-identity", "", "Specify ssh identity file for cloning with ssh options.  This cannot contain useful shortcuts like \"~\"")
 	cmdlineFacts, cmdlineDeployed = hercules.Registry.AddFlags(rootFlags)
 	rootCmd.SetUsageFunc(formatUsage)
 	rootCmd.AddCommand(versionCmd)