summaryrefslogtreecommitdiff
path: root/cmds.h
diff options
context:
space:
mode:
authorBrett Holman <bholman.devel@gmail.com>2021-10-31 22:30:13 -0600
committerBrett Holman <bholman.devel@gmail.com>2021-11-01 08:12:35 -0600
commit9a649545a3263f2a6f85d724e8bcfbd6aeedcdaf (patch)
treeb018a3c051586915fd38d85a87d071e0c83fe90a /cmds.h
parent0da2d968eb7d78417693347597ce091a515f646b (diff)
Add more specific subcommand usage messages
The device, data, fs, and subvolume subcommands currently print out a generic usage message. Make these more specific. Signed-off-by: Brett Holman <bholman.devel@gmail.com>
Diffstat (limited to 'cmds.h')
-rw-r--r--cmds.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds.h b/cmds.h
index 0e27d6d7..52db63f3 100644
--- a/cmds.h
+++ b/cmds.h
@@ -19,8 +19,10 @@ int cmd_run(int argc, char *argv[]);
int cmd_stop(int argc, char *argv[]);
#endif
+int fs_usage(void);
int cmd_fs_usage(int argc, char *argv[]);
+int device_usage(void);
int cmd_device_add(int argc, char *argv[]);
int cmd_device_remove(int argc, char *argv[]);
int cmd_device_online(int argc, char *argv[]);
@@ -30,6 +32,7 @@ int cmd_device_set_state(int argc, char *argv[]);
int cmd_device_resize(int argc, char *argv[]);
int cmd_device_resize_journal(int argc, char *argv[]);
+int data_usage(void);
int cmd_data_rereplicate(int argc, char *argv[]);
int cmd_data_job(int argc, char *argv[]);
@@ -50,6 +53,7 @@ int cmd_version(int argc, char *argv[]);
int cmd_setattr(int argc, char *argv[]);
+int subvolume_usage(void);
int cmd_subvolume_create(int argc, char *argv[]);
int cmd_subvolume_delete(int argc, char *argv[]);
int cmd_subvolume_snapshot(int argc, char *argv[]);