Thanks, here is initial patch.
Jari
bzrlib/builtins.py | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/bzrlib/builtins.py b/bzrlib/builtins.py index 43db91d..66317a4 100644 --- a/bzrlib/builtins.py +++ b/bzrlib/builtins.py @@ -1784,16 +1784,26 @@ class cmd_ls(Command): 'verbose', 'revision', Option('non-recursive', + short_name='n', help='Don\'t recurse into subdirectories.'), Option('from-root', + short_name='l', help='Print paths relative to the root of the branch.'), - Option('unknown', help='Print unknown files.'), - Option('versioned', help='Print versioned files.'), - Option('ignored', help='Print ignored files.'), + Option('unknown', + short_name='u', + help='Print unknown files.'), + Option('versioned', + short_name='V', + help='Print versioned files.'), + Option('ignored', + short_name='i', + help='Print ignored files.'), Option('null', + short_name='0', help='Write an ascii NUL (\\0) separator ' 'between files rather than a newline.'), Option('kind', + short_name='k', help='List entries of a particular kind: file, directory, symlink.', type=unicode), 'show-ids',
Thanks, here is initial patch.
Jari
bzrlib/builtins.py | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/bzrlib/ builtins. py b/bzrlib/ builtins. py builtins. py builtins. py
' verbose' ,
' revision' ,
Option( 'non-recursive' ,
help= 'Don\'t recurse into subdirectories.'),
Option( 'from-root' ,
help= 'Print paths relative to the root of the branch.'),
Option( 'null',
help= 'Write an ascii NUL (\\0) separator '
' between files rather than a newline.'),
Option( 'kind',
help= 'List entries of a particular kind: file, directory, symlink.',
type= unicode) ,
' show-ids' ,
index 43db91d..66317a4 100644
--- a/bzrlib/
+++ b/bzrlib/
@@ -1784,16 +1784,26 @@ class cmd_ls(Command):
+ short_name='n',
+ short_name='l',
- Option('unknown', help='Print unknown files.'),
- Option('versioned', help='Print versioned files.'),
- Option('ignored', help='Print ignored files.'),
+ Option('unknown',
+ short_name='u',
+ help='Print unknown files.'),
+ Option('versioned',
+ short_name='V',
+ help='Print versioned files.'),
+ Option('ignored',
+ short_name='i',
+ help='Print ignored files.'),
+ short_name='0',
+ short_name='k',