From: Zac Medico Date: Tue, 20 Nov 2007 23:36:18 +0000 (-0000) Subject: Make 'full' the default mode, since 'scan' can be annoying when it X-Git-Tag: v2.1.4~265 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5dc1ddb6bdb0a1f128b04bdebc981f611cec671f;p=portage.git 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 --- 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)