Fossil SCM

Add mention of the "-R REPO_FILE" option in the whatis usage help.

mgagnon 2026-02-05 13:22 trunk
Commit 32493b85be26eb99f8a05c91322aa0c2b6ef21051f77c2df032f4fdb4789e29e
1 file changed +2
+2
--- src/name.c
+++ src/name.c
@@ -1369,10 +1369,12 @@
13691369
** Options:
13701370
** -f|--file Find artifacts with the same hash as file NAME.
13711371
** If NAME is "-", read content from standard input.
13721372
** -h|--hash Show only the hash of matching artifacts.
13731373
** -q|--quiet Show nothing if NAME is not found
1374
+** -R REPO_FILE Specifies the repository db to use. Default is
1375
+** the current check-out's repository.
13741376
** --type TYPE Only find artifacts of TYPE (one of: 'ci', 't',
13751377
** 'w', 'g', or 'e')
13761378
** -v|--verbose Provide extra information (such as the RID)
13771379
*/
13781380
void whatis_cmd(void){
13791381
--- src/name.c
+++ src/name.c
@@ -1369,10 +1369,12 @@
1369 ** Options:
1370 ** -f|--file Find artifacts with the same hash as file NAME.
1371 ** If NAME is "-", read content from standard input.
1372 ** -h|--hash Show only the hash of matching artifacts.
1373 ** -q|--quiet Show nothing if NAME is not found
 
 
1374 ** --type TYPE Only find artifacts of TYPE (one of: 'ci', 't',
1375 ** 'w', 'g', or 'e')
1376 ** -v|--verbose Provide extra information (such as the RID)
1377 */
1378 void whatis_cmd(void){
1379
--- src/name.c
+++ src/name.c
@@ -1369,10 +1369,12 @@
1369 ** Options:
1370 ** -f|--file Find artifacts with the same hash as file NAME.
1371 ** If NAME is "-", read content from standard input.
1372 ** -h|--hash Show only the hash of matching artifacts.
1373 ** -q|--quiet Show nothing if NAME is not found
1374 ** -R REPO_FILE Specifies the repository db to use. Default is
1375 ** the current check-out's repository.
1376 ** --type TYPE Only find artifacts of TYPE (one of: 'ci', 't',
1377 ** 'w', 'g', or 'e')
1378 ** -v|--verbose Provide extra information (such as the RID)
1379 */
1380 void whatis_cmd(void){
1381

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button