[kdesrc-build] /: cmdline: Make -v stand for --version, not --verbose.
Michael Pyne
null at kde.org
Fri Dec 21 19:20:56 GMT 2018
Git commit d285496cc4662587a6e44dfa8f06eae3a5337267 by Michael Pyne.
Committed on 21/12/2018 at 19:19.
Pushed by mpyne into branch 'master'.
cmdline: Make -v stand for --version, not --verbose.
A user mistakenly running "kdesrc-build -v" would otherwise be in for
quite a surprise.
R +0 -0 README.md [from: README - 100% similarity]
M +2 -2 doc/index.docbook
M +1 -1 doc/man-kdesrc-build.1.docbook
M +2 -2 modules/ksb/Application.pm
https://invent.kde.org/kde/kdesrc-build/commit/d285496cc4662587a6e44dfa8f06eae3a5337267
diff --git a/README b/README.md
similarity index 100%
rename from README
rename to README.md
diff --git a/doc/index.docbook b/doc/index.docbook
index 12fb21a..4fbfe1b 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -2995,7 +2995,7 @@ Only display simple help on this script.
</varlistentry>
<varlistentry id="cmdline-version">
-<term><parameter>--version</parameter></term>
+<term><parameter>--version</parameter> (or <parameter>-v</parameter>)</term>
<listitem><para>
Display the program version.
</para></listitem>
@@ -3111,7 +3111,7 @@ Only output warnings and errors.
</varlistentry>
<varlistentry id="cmdline-verbose">
-<term><parameter>--verbose</parameter> (or <parameter>-v</parameter>)</term>
+<term><parameter>--verbose</parameter></term>
<listitem><para>
Be very descriptive about what is going on, and what &kdesrc-build; is doing.
</para></listitem>
diff --git a/doc/man-kdesrc-build.1.docbook b/doc/man-kdesrc-build.1.docbook
index 2d59937..bf9f188 100644
--- a/doc/man-kdesrc-build.1.docbook
+++ b/doc/man-kdesrc-build.1.docbook
@@ -771,7 +771,7 @@ kdepim: master
<varlistentry>
<term>
-<option>-v, --verbose</option>
+<option>--verbose</option>
</term>
<listitem>
diff --git a/modules/ksb/Application.pm b/modules/ksb/Application.pm
index e9eea01..6c1be46 100644
--- a/modules/ksb/Application.pm
+++ b/modules/ksb/Application.pm
@@ -281,11 +281,11 @@ DONE
# Actually read the options.
my $optsSuccess = GetOptionsFromArray(\@options, \%foundOptions,
- 'version', 'author', 'help', 'show-info', 'initial-setup',
+ 'version|v', 'author', 'help', 'show-info', 'initial-setup',
'disable-snapshots|no-snapshots',
'install', 'uninstall', 'no-src|no-svn', 'no-install', 'no-build',
'no-tests', 'build-when-unchanged|force-build', 'no-metadata',
- 'verbose|v', 'quiet|quite|q', 'really-quiet', 'debug',
+ 'verbose', 'quiet|quite|q', 'really-quiet', 'debug',
'reconfigure', 'colorful-output|color!', 'async!',
'src-only|svn-only', 'build-only', 'install-only', 'build-system-only',
'rc-file=s', 'prefix=s', 'niceness|nice:10', 'ignore-modules=s{,}',
More information about the kde-doc-english
mailing list