mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-26 13:56:27 +00:00
Add tests for --help --long
This commit is contained in:
parent
c5b18d0f6b
commit
90e0c5b60e
19
xtests/help_long
Normal file
19
xtests/help_long
Normal file
@ -0,0 +1,19 @@
|
||||
Usage:
|
||||
exa [options] [files...]
|
||||
|
||||
LONG VIEW OPTIONS
|
||||
-b, --binary list file sizes with binary prefixes
|
||||
-B, --bytes list file sizes in bytes, without any prefixes
|
||||
-g, --group list each file's group
|
||||
-h, --header add a header row to each column
|
||||
-H, --links list each file's number of hard links
|
||||
-i, --inode list each file's inode number
|
||||
-L, --level DEPTH limit the depth of recursion
|
||||
-m, --modified use the modified timestamp field
|
||||
-S, --blocks show number of file system blocks
|
||||
-t, --time FIELD which timestamp field to list (modified, accessed, created)
|
||||
-u, --accessed use the accessed timestamp field
|
||||
-U, --created use the created timestamp field
|
||||
--git list each file's Git status, if tracked
|
||||
-@, --extended list each file's extended attributes and sizes
|
||||
|
@ -111,5 +111,6 @@ $exa $testcases/git/edits -l --git 2>&1 | diff -q - $results/git_edits
|
||||
|
||||
# And finally...
|
||||
$exa --help 2>&1 | diff -q - $results/help || exit 1
|
||||
$exa --help --long 2>&1 | diff -q - $results/help_long || exit 1
|
||||
|
||||
echo "All the tests passed!"
|
||||
|
Loading…
Reference in New Issue
Block a user