diff --git a/NEWS b/NEWS index d7c9ab08..4878d3b8 100644 --- a/NEWS +++ b/NEWS @@ -5,12 +5,7 @@ via 'sslcertck = 0' in .oscrc. - 'osc list' option -D now only limits non-'new' requests. In state 'new' all are shown. - suggest 'osc list' --bugowner option. Not implemented. - - implemented 'osc ls .' to take proj/pack name from current directory. - * Incompatible change: 'osc ls' now defaults to 'osc ls .', - * Use 'osc ls /' if you really want to list all projects. - * This is meant as a proof of concept. I intend to generalize this usage of '.' - for all osc commands. Feedback welcome. - - added 'osc req help' as convenience alias to 'osc help req'. + - added 'osc rq help' as convenience alias to 'osc help rq'. - 'osc in' to be done. Its usage just prints a suggested zypper command line. - Incompatible change: osc se now prints Project Package, instead of Package Project for easier copy&paste. diff --git a/osc/commandline.py b/osc/commandline.py index b79d039d..126e9322 100755 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -204,12 +204,7 @@ class Osc(cmdln.Cmdln): also required. Examples: - ls / # list all projects - ls . # take name package and/or project name from current - # local directory, but list corresponding server contents - ls # same as 'ls .' if ./.osc/ exists; same as 'ls /' otherwise. - ls [-l] . package # take only project name from local directory. - + ls # list all projects ls Apache # list packages in a project ls -b Apache # list all binaries of a project ls Apache apache2 # list source files of package of a project @@ -230,8 +225,6 @@ class Osc(cmdln.Cmdln): """ args = slash_split(args) - args = expand_proj_pack(args) - if subcmd == 'll': opts.verbose = True if subcmd == 'lL' or subcmd == 'LL':