aboutsummaryrefslogtreecommitdiffstats
path: root/utils.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-06-16 13:27:18 +0200
committerDavid Sterba <dsterba@suse.com>2016-06-17 17:01:25 +0200
commit18c6850fe1d06a31834da340387f94a6940197b9 (patch)
treed32461d01e4072ddf06854ce8b5b5bc350e9ce2e /utils.h
parent68702ea0096d302a714bda413234e6bb8c7e08d4 (diff)
downloadbtrfs-progs-18c6850fe1d06a31834da340387f94a6940197b9.tar.gz
btrfs-progs-18c6850fe1d06a31834da340387f94a6940197b9.tar.xz
btrfs-progs-18c6850fe1d06a31834da340387f94a6940197b9.zip
btrfs-progs: new helper for option parsing, more permissive for "no options"
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index c79f81e..98bfb34 100644
--- a/utils.h
+++ b/utils.h
@@ -303,6 +303,8 @@ const char *get_argv0_buf(void);
unsigned int get_unit_mode_from_arg(int *argc, char *argv[], int df_mode);
void clean_args_no_options(int argc, char *argv[], const char * const *usage);
+void clean_args_no_options_relaxed(int argc, char *argv[],
+ const char * const *usagestr);
int string_is_numerical(const char *str);
__attribute__ ((format (printf, 1, 2)))