From ff4f2f5e019a4663d339e8a80272a7f6502a7789 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Fri, 16 Jan 2015 20:53:28 +0200 Subject: [PATCH] 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 --- repa.1 | 10 +++++----- repa/{info.py => show.py} | 4 ++-- setup.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) rename repa/{info.py => show.py} (99%) 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 +.SS \fBshow\fR [\-\-help] \-\-project .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 similarity index 99% rename from repa/info.py rename to 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'] }) -- 2.34.1