diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-20 23:36:18 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-20 23:36:18 +0000 |
commit | 5dc1ddb6bdb0a1f128b04bdebc981f611cec671f (patch) | |
tree | 7e2e6f96cd5172738b2caaead8955f8ba8a89d85 | |
parent | dd9a3e3a47dd68c2c461657be65135660a93fc94 (diff) | |
download | portage-5dc1ddb6bdb0a1f128b04bdebc981f611cec671f.tar.gz portage-5dc1ddb6bdb0a1f128b04bdebc981f611cec671f.tar.bz2 portage-5dc1ddb6bdb0a1f128b04bdebc981f611cec671f.zip |
Make 'full' the default mode, since 'scan' can be annoying when it
omits relevant info. (trunk r8499)
svn path=/main/branches/2.1.2/; revision=8558
-rwxr-xr-x | bin/repoman | 8 | ||||
-rw-r--r-- | man/repoman.1 | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/repoman b/bin/repoman index d0d0aaaea..666ed6545 100755 --- a/bin/repoman +++ b/bin/repoman @@ -95,7 +95,7 @@ signal.signal(signal.SIGINT,exithandler) shortmodes={"ci":"commit"} modeshelp={ -"scan" : "Scan directory tree for QA issues (default)", +"scan" : "Scan directory tree for QA issues (short listing)", "manifest" : "Generate a Manifest (fetches files if necessary)", "fix" : "Fix simple QA issues (stray digests, missing digests)", "full" : "Scan directory tree for QA issues (full listing)", @@ -271,9 +271,9 @@ def help(exitstatus=1,helpfulness=1): print print bold(" Usage:"),turquoise(exename),"[",green("options"),"] [",green("mode"),"]" if helpfulness: - print bold(" Modes:"),turquoise("scan (default)"), + print bold(" Modes:"),turquoise("full (default)"), for x in modes: - if x == "scan": + if x == "full": continue print "|",turquoise(x), print @@ -391,7 +391,7 @@ if len(sys.argv)>1: err_help("\""+sys.argv[x]+"\" is not a valid mode or option.") x=x+1 if mymode is None: - mymode="scan" + mymode = "full" if mymode=="help" or ("--help" in myoptions): help(exitstatus=0) if ("--version" in myoptions): diff --git a/man/repoman.1 b/man/repoman.1 index 5fc789c82..f213b9adf 100644 --- a/man/repoman.1 +++ b/man/repoman.1 @@ -60,7 +60,7 @@ Remember report from last run Show this screen .TP .B scan -Scan directory tree for QA issues (default) +Scan directory tree for QA issues (short listing) .TP .B fix Fix simple QA issues (stray digests, missing digests) |