Browse files

update documentation on show command to make it clearer

  • Loading branch information...
1 parent 677ef45 commit bb964393229b9b4c2421e6907d7e29f326ca86d0 @jmoiron committed Mar 10, 2013
Showing with 5 additions and 5 deletions.
  1. +2 −2 README
  2. +3 −3 cm.go
View
4 README
@@ -14,8 +14,8 @@ by a command and then arguments related to that command:
add <file> - add a file to management directory
rm <file> - remove file from management directory
- show - show what files, if any, are added under cm
- list - list all files under cm
+ show [path] - show what files in path are under cm (default: CWD)
+ list - list all files under cm (show "/")
diff [file] - show diff between files under cm
sync [all] - sync cm overlay to cwd, or / if "all"
pkg [subcmd...] - package management subcommand
View
6 cm.go
@@ -19,8 +19,8 @@ by a command and then arguments related to that command:
add <file> - add a file to management directory
rm <file> - remove file from management directory
- show - show what files, if any, are added under cm
- list - list all files under cm
+ show [path] - show what files in path are under cm (default: CWD)
+ list - list all files under cm (show "/")
diff [file] - show diff between files under cm
sync [all] - sync cm overlay to cwd, or / if "all"
pkg [subcmd...] - package management subcommand
@@ -41,7 +41,7 @@ Valid commands:
add <file> - add a file to management directory
rm <file> - remove file from management directory
- show - show what files, if any, are added under cm
+ show [path] - show what files in path are under cm (default: CWD)
diff [file] - show diff between files under cm
sync [all] - sync cm overlay to cwd, or / if "all"
pkg add <name> - add package to management list

0 comments on commit bb96439

Please sign in to comment.