summaryrefslogtreecommitdiff
path: root/btrfs-map-logical.c
diff options
context:
space:
mode:
Diffstat (limited to 'btrfs-map-logical.c')
-rw-r--r--btrfs-map-logical.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c
index 5d14035e..e5e2da5d 100644
--- a/btrfs-map-logical.c
+++ b/btrfs-map-logical.c
@@ -126,10 +126,10 @@ int main(int ac, char **av)
int c;
static const struct option long_options[] = {
/* { "byte-count", 1, NULL, 'b' }, */
- { "logical", 1, NULL, 'l' },
- { "copy", 1, NULL, 'c' },
- { "output", 1, NULL, 'o' },
- { "bytes", 1, NULL, 'b' },
+ { "logical", required_argument, NULL, 'l' },
+ { "copy", required_argument, NULL, 'c' },
+ { "output", required_argument, NULL, 'o' },
+ { "bytes", required_argument, NULL, 'b' },
{ NULL, 0, NULL, 0}
};