summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Bartosh <eduard.bartosh@intel.com>2015-01-16 20:53:28 +0200
committerEd Bartosh <eduard.bartosh@intel.com>2015-01-23 14:51:32 +0200
commitff4f2f5e019a4663d339e8a80272a7f6502a7789 (patch)
tree256d2bdd49b13c85896e82a695bfe96c1ea79a16
parent092b39098071bc22441c3562c0f9c0234ebf130d (diff)
downloadrepa-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.110
-rwxr-xr-xrepa/show.py (renamed from repa/info.py)4
-rwxr-xr-xsetup.py2
3 files changed, 8 insertions, 8 deletions
diff --git a/repa.1 b/repa.1
index 260b5bf..8ae3320 100644
--- a/repa.1
+++ b/repa.1
@@ -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
diff --git a/setup.py b/setup.py
index f9f9082..34c371f 100755
--- a/setup.py
+++ b/setup.py
@@ -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']
})