Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/zstream/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ zstream_SOURCES = \
%D%/zstream_decompress.c \
%D%/zstream_drop_record.c \
%D%/zstream_dump.c \
%D%/zstream_raw.c \
%D%/zstream_recompress.c \
%D%/zstream_redup.c \
%D%/zstream_token.c \
Expand Down
7 changes: 6 additions & 1 deletion cmd/zstream/zstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ zstream_usage(void)
"\n"
"\tzstream drop_record [-v] [OBJECT,OFFSET] ...\n"
"\n"
"\tzstream recompress [ -l level] TYPE\n"
"\tzstream raw [-v] [-g guid] FILE|DEV FILE\n"
"\t... | zstream raw [-v] [-g guid] FILE|DEV\n"
"\n"
"\tzstream recompress [-l level] TYPE\n"
"\n"
"\tzstream token resume_token\n"
"\n"
Expand All @@ -72,6 +75,8 @@ main(int argc, char *argv[])
return (zstream_do_decompress(argc - 1, argv + 1));
} else if (strcmp(subcommand, "drop_record") == 0) {
return (zstream_do_drop_record(argc - 1, argv + 1));
} else if (strcmp(subcommand, "raw") == 0) {
return (zstream_do_raw(argc - 1, argv + 1));
} else if (strcmp(subcommand, "recompress") == 0) {
return (zstream_do_recompress(argc - 1, argv + 1));
} else if (strcmp(subcommand, "token") == 0) {
Expand Down
1 change: 1 addition & 0 deletions cmd/zstream/zstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ extern int zstream_do_decompress(int argc, char *argv[]);
extern int zstream_do_drop_record(int argc, char *argv[]);
extern int zstream_do_recompress(int argc, char *argv[]);
extern int zstream_do_token(int, char *[]);
extern int zstream_do_raw(int, char *[]);
extern void zstream_usage(void);

#ifdef __cplusplus
Expand Down
Loading
Loading