Make 'full' the default mode, since 'scan' can be annoying when it
authorZac Medico <zmedico@gentoo.org>
Tue, 20 Nov 2007 23:36:18 +0000 (23:36 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 20 Nov 2007 23:36:18 +0000 (23:36 -0000)
omits relevant info. (trunk r8499)

svn path=/main/branches/2.1.2/; revision=8558

bin/repoman
man/repoman.1

index d0d0aaaead83c249f6d36a0127e070ab952e8b10..666ed65452344330f7217ba70b425b9125241401 100755 (executable)
@@ -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):
index 5fc789c8258b023b56ec219c73d268ee0649d7da..f213b9adf99e49772cf3efbe97405831017f08c7 100644 (file)
@@ -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)