Explorar o código

Remove double forall from "repo help forall" output

%prog represents the full subcommand ("repo" + subcommand name), not a
Windows-style environment variable for "repo". The current help output
shows

 repo forall% forall ...

Correct the variable usage so it shows "repo forall ..." instead.

Change-Id: I1fea55572428cc922ddf24ace1168a3d8f82dad0
Solomon Kinard %!s(int64=6) %!d(string=hai) anos
pai
achega
490e16385d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      subcmds/forall.py

+ 1 - 1
subcmds/forall.py

@@ -105,7 +105,7 @@ following <command>.
 
 Example: to list projects:
 
-  %prog% forall -c 'echo $REPO_PROJECT'
+  %prog -c 'echo $REPO_PROJECT'
 
 Notice that $REPO_PROJECT is quoted to ensure it is expanded in
 the context of running <command> instead of in the calling shell.