diff options
author | Ed Bartosh <eduard.bartosh@intel.com> | 2015-01-16 20:53:28 +0200 |
---|---|---|
committer | Ed Bartosh <eduard.bartosh@intel.com> | 2015-01-23 14:51:32 +0200 |
commit | ff4f2f5e019a4663d339e8a80272a7f6502a7789 (patch) | |
tree | 256d2bdd49b13c85896e82a695bfe96c1ea79a16 | |
parent | 092b39098071bc22441c3562c0f9c0234ebf130d (diff) | |
download | repa-ff4f2f5e019a4663d339e8a80272a7f6502a7789.tar.gz repa-ff4f2f5e019a4663d339e8a80272a7f6502a7789.tar.bz2 repa-ff4f2f5e019a4663d339e8a80272a7f6502a7789.zip |
Renamed command info -> show
Show is a verb and therefore more appropriate to use as a command name.
And it is easier to remember as it's consistent with git command.
Fixes: #2326
Change-Id: Ib5919cc51000f4866571d78660185154c16f994e
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
-rw-r--r-- | repa.1 | 10 | ||||
-rwxr-xr-x | repa/show.py (renamed from repa/info.py) | 4 | ||||
-rwxr-xr-x | setup.py | 2 |
3 files changed, 8 insertions, 8 deletions
@@ -29,7 +29,7 @@ Submission group is a temporary group of submissions, created for testing purpos 1. \fBlist\fR - list submissions and submission groups .RE .RS 2 -2. \fBinfo\fR - show detailed info about submission or submission group +2. \fBshow\fR - show detailed info about submission or submission group .RE .RS 2 3. \fBaccept\fR - accept submissions @@ -156,9 +156,9 @@ Note, that this parameter can also be specified in \fIrepa\fR configuration file .PP .\" -.\" The "info" command description +.\" The "show" command description .\" -.SS \fBinfo\fR [\-\-help] \-\-project <project> <submission or group> +.SS \fBshow\fR [\-\-help] \-\-project <project> <submission or group> .RS 2 Show detailed information about submission @@ -193,14 +193,14 @@ Package build failures: .RE .\" -.\" The "info" command's options +.\" The "show" command's options .\" .RS 2 \fBOPTIONS\fR .RS 2 \-h, \-\-help .RS 2 -Print short help text about the "info" command and exit. +Print short help text about the "show" command and exit. .RE .\" diff --git a/repa/info.py b/repa/show.py index 4fce363..dab2eec 100755 --- a/repa/info.py +++ b/repa/show.py @@ -103,10 +103,10 @@ def info(obs, name, target): print ' %-40s %s' % (pkg, status) -class Info(object): +class Show(object): """Subcommand: Print detailed information about submission.""" - name = 'info' + name = 'show' description = 'Information about submission' help = description @@ -47,6 +47,6 @@ setup(name="repa", 'accept = repa.accept:Accept', 'reject = repa.reject:Reject', 'rmgroup = repa.rmgroup:RmGroup', - 'info = repa.info:Info', + 'show = repa.show:Show', 'diff = repa.diff:Diff'] }) |