nitls: rename `--path` to `--path-only` to avoid conflict with `-I`
authorJean Privat <jean@pryen.org>
Wed, 21 Oct 2015 02:26:29 +0000 (22:26 -0400)
committerJean Privat <jean@pryen.org>
Wed, 21 Oct 2015 12:42:53 +0000 (08:42 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

share/man/nitls.md
src/nitls.nit

index 5fa7f48..704d50d 100644 (file)
@@ -86,7 +86,7 @@ Without this option, an error message is displayed and nitls terminates on such
 
 ## PRESENTATION OPTIONS
 
-### `-p`, `--path`
+### `-p`, `--path-only`
 List only path (instead of name + path).
 
 Paths are displayed uncolored.
index 7ed5e40..4d309f4 100644 (file)
@@ -96,7 +96,7 @@ var opt_source = new OptionBool("List source files", "-s", "--source")
 var opt_package = new OptionBool("List packages paths (default)", "-P", "--package")
 var opt_depends = new OptionBool("List dependencies of given modules", "-d", "--depends")
 var opt_make = new OptionBool("List dependencies suitable for a rule in a Makefile. Alias for -d, -p and -s", "-M")
-var opt_paths = new OptionBool("List only path (instead of name + path)", "-p", "--path")
+var opt_paths = new OptionBool("List only path (instead of name + path)", "-p", "--path-only")
 
 tc.option_context.add_option(opt_keep, opt_recursive, opt_tree, opt_source, opt_package, opt_depends, opt_paths, opt_make)
 tc.tooldescription = "Usage: nitls [OPTION]... <file.nit|directory>...\nLists the packages and/or paths of Nit sources files."