Commit 0e1b0230f4458c13646126f1b1285a89f0885d66

Stefan Sperling 2019-07-07T13:54:20

fix incomplete documentation of 'got checkout' -c option

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/got/got.1 b/got/got.1
index 624c27f..0d8ec3c 100644
--- a/got/got.1
+++ b/got/got.1
@@ -86,6 +86,9 @@ reference will be used.
 .It Fl c Ar commit
 Check out files from the specified
 .Ar commit .
+The expected argument is a commit ID SHA1 hash.
+An abbreviated hash argument will be expanded to a full SHA1 hash
+automatically, provided the abbreviation is unique.
 If this option is not specified, the most recent commit on the selected
 branch will be used.
 .It Fl p Ar path-prefix