Skip to content

Commit 2c1325d

Browse files
committed
Remove the CLI help menu from the cram tests
The exact formatting of this output may change with dependencies upgrades and it's best to rely on other tests to exercise the code. Besides, we already monitor this menu in the documentation, where we can be a bit more permissive as we'd expect to compile the doc with exactly one specific combination of dependencies.
1 parent ec54ebd commit 2c1325d

File tree

1 file changed

+0
-109
lines changed

1 file changed

+0
-109
lines changed

test/cram/run.t

Lines changed: 0 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -296,112 +296,3 @@ revision.
296296
dir/hello
297297

298298
$ volgo-vcs git worktree remove .worktree/rev1
299-
300-
Vcs's help for review.
301-
302-
$ volgo-vcs --help=plain
303-
NAME
304-
volgo-vcs - Call a command from the vcs interface.
305-
306-
SYNOPSIS
307-
volgo-vcs COMMAND …
308-
309-
This is an executable to test the Version Control System (vcs)
310-
library.
311-
312-
313-
314-
We expect a 1:1 mapping between the function exposed in the [Vcs.S]
315-
and the sub commands exposed here, plus additional ones.
316-
317-
COMMANDS
318-
add [OPTION]… file
319-
Add a file to the index.
320-
321-
branch-revision [OPTION]… [BRANCH]
322-
Get the revision of a branch.
323-
324-
commit [--message=MSG] [--quiet] [OPTION]…
325-
Commit a file.
326-
327-
current-branch [--opt] [OPTION]…
328-
Print the current branch.
329-
330-
current-revision [OPTION]…
331-
Print the revision of HEAD.
332-
333-
descendance [OPTION]… REV REV
334-
Print descendance relation between 2 revisions.
335-
336-
find-enclosing-repo-root [--from=path/to/dir] [--store=VAL]
337-
[OPTION]…
338-
Find the root of the enclosing-repo.
339-
340-
gca [OPTION]… [REV]…
341-
Print greatest common ancestors of revisions.
342-
343-
git [OPTION]… [ARG]…
344-
Run the git cli.
345-
346-
graph [OPTION]…
347-
Compute graph of current repo.
348-
349-
hg [OPTION]… [ARG]…
350-
Run the hg cli.
351-
352-
init [--quiet] [OPTION]… path/to/root
353-
Initialize a new repository.
354-
355-
load-file [OPTION]… path/to/file
356-
Print a file from the filesystem (aka cat).
357-
358-
log [OPTION]…
359-
Show the log of current repo.
360-
361-
ls-files [--below=PATH] [OPTION]…
362-
List versioned file.
363-
364-
name-status [OPTION]… BASE TIP
365-
Show a summary of the diff between 2 revs.
366-
367-
num-status [OPTION]… BASE TIP
368-
Show a summary of the number of lines of diff between 2 revs.
369-
370-
read-dir [OPTION]… path/to/dir
371-
Print the list of files in a directory.
372-
373-
refs [OPTION]…
374-
Show the refs of current repo.
375-
376-
rename-current-branch [OPTION]… branch
377-
Move/rename a branch to a new name.
378-
379-
save-file [OPTION]… FILE
380-
Save stdin to a file from the filesystem (aka tee).
381-
382-
set-user-config [--user.email=EMAIL] [--user.name=USER] [OPTION]…
383-
Changes some settings in the user config.
384-
385-
show-file-at-rev [--rev=REV] [OPTION]… FILE
386-
Show the contents of file at a given revision.
387-
388-
COMMON OPTIONS
389-
--help[=FMT] (default=auto)
390-
Show this help in format FMT. The value FMT must be one of auto,
391-
pager, groff or plain. With auto, the format is pager or plain
392-
whenever the TERM env var is dumb or undefined.
393-
394-
--version
395-
Show version information.
396-
397-
EXIT STATUS
398-
volgo-vcs exits with:
399-
400-
0 on success.
401-
402-
123 on indiscriminate errors reported on standard error.
403-
404-
124 on command line parsing errors.
405-
406-
125 on unexpected internal errors (bugs).
407-

0 commit comments

Comments
 (0)