[PATCH 3/5] Docs: add some long/short options
From: Stephan Beyer <hidden>
Date: 2016-06-15 22:44:42
Subsystem:
documentation, the rest · Maintainers:
Jonathan Corbet, Linus Torvalds
Namely: git-clean.txt: --dry-run --quiet git-count-objects.txt: --verbose git-quiltimport.txt: -n git-remote.txt: -v --verbose Signed-off-by: Stephan Beyer <redacted> --- Hi, this was a kind of semi-automated search to find the options that are not documented in the manual. Besides deprecated or unofficial ones, my search found those listed here and those from the following patches. Regards, Stephan PS: Because the patches are so tiny, I didn't want to make several ones. Documentation/git-clean.txt | 2 ++ Documentation/git-count-objects.txt | 1 + Documentation/git-quiltimport.txt | 2 ++ Documentation/git-remote.txt | 10 +++++++++- 4 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt
index deebf3b..37a82ee 100644
--- a/Documentation/git-clean.txt
+++ b/Documentation/git-clean.txt@@ -30,9 +30,11 @@ OPTIONS git-clean will refuse to run unless given -f or -n. -n:: +--dry-run:: Don't actually remove anything, just show what would be done. -q:: +--quiet:: Be quiet, only report errors, but not the files that are successfully removed.
diff --git a/Documentation/git-count-objects.txt b/Documentation/git-count-objects.txt
index e1219b3..1ba85a2 100644
--- a/Documentation/git-count-objects.txt
+++ b/Documentation/git-count-objects.txt@@ -18,6 +18,7 @@ them, to help you decide when it is a good time to repack. OPTIONS ------- -v:: +--verbose:: In addition to the number of loose objects and disk space consumed, it reports the number of in-pack objects, number of packs, and number of objects that can be
diff --git a/Documentation/git-quiltimport.txt b/Documentation/git-quiltimport.txt
index d0bc182..0600379 100644
--- a/Documentation/git-quiltimport.txt
+++ b/Documentation/git-quiltimport.txt@@ -29,6 +29,8 @@ preserved as the 1 line subject in the git description. OPTIONS ------- + +-n:: --dry-run:: Walk through the patches in the series and warn if we cannot find all of the necessary information to commit
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index e97dc09..782b055 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/git-remote.txt@@ -9,7 +9,7 @@ git-remote - manage set of tracked repositories SYNOPSIS -------- [verse] -'git-remote' +'git-remote' [-v | --verbose] 'git-remote' add [-t <branch>] [-m <master>] [-f] [--mirror] <name> <url> 'git-remote' rm <name> 'git-remote' show <name>
@@ -22,6 +22,14 @@ DESCRIPTION Manage the set of repositories ("remotes") whose branches you track. +OPTIONS +------- + +-v:: +--verbose:: + Be a little more verbose and show remote url after name. + + COMMANDS --------
--
1.5.5.1