Skip to content

Commit

Permalink
doc/flux-kvs(1): Add ls subcommand.
Browse files Browse the repository at this point in the history
  • Loading branch information
garlick committed Aug 29, 2017
1 parent a5f5613 commit 116c9f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions doc/man1/flux-kvs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ Retrieve the value stored under 'key'. If nothing has been stored under
Store 'value' under 'key' and commit it. If it already has a value,
overwrite it.

*ls* [-R] [-d] [-C] [-1|-C] [-w COLS] [-F] ['key' ...]::
Display directory referred to by _key_, or "." (root) if unspecified.
Options are roughly equivalent to a subset of ls(1) options.
'-R' lists directory recursively. '-d' displays directory not its contents.
'-F' classifies files with one character suffix (. is directory, @ is symlink).
'-1' causes output to be displayed in one column, or '-C' cause output to
be displayed in multiple columns (default). '-w COLS' sets the terminal width
in characters.

*dir* [-R] [-d] ['key']::
Display all keys and their values under the directory 'key'.
If 'key' does not exist or is not a directory, display an error message.
Expand Down
1 change: 0 additions & 1 deletion src/cmd/flux-kvs.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/ioctl.h>
#include <flux/core.h>
#include <flux/optparse.h>
#include <unistd.h>
Expand Down

0 comments on commit 116c9f4

Please sign in to comment.