aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/extattrctl/extattrctl.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2000-09-12 14:35:48 +0000
committerRobert Watson <rwatson@FreeBSD.org>2000-09-12 14:35:48 +0000
commit8f0dcdab88e6dd814224f803babb2e46893d86b0 (patch)
tree6c1f851fc63114f4f4271e6ac820ef63a87d1004 /usr.sbin/extattrctl/extattrctl.c
parentac519db05b2eeda15320c345b8e10fbfafd444d2 (diff)
Notes
Diffstat (limited to 'usr.sbin/extattrctl/extattrctl.c')
-rw-r--r--usr.sbin/extattrctl/extattrctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/extattrctl/extattrctl.c b/usr.sbin/extattrctl/extattrctl.c
index 2d08926e1869..78026878fecf 100644
--- a/usr.sbin/extattrctl/extattrctl.c
+++ b/usr.sbin/extattrctl/extattrctl.c
@@ -54,7 +54,7 @@ usage(void)
"usage:\n"
" extattrctl start [path]\n"
" extattrctl stop [path]\n"
- " extattrctl initattr [-o] [-p path] [attrsize] [attrfile]\n"
+ " extattrctl initattr [-f] [-p path] [attrsize] [attrfile]\n"
" extattrctl enable [path] [attrname] [attrfile]\n"
" extattrctl disable [path] [attrname]\n");
exit(-1);
@@ -85,9 +85,9 @@ initattr(int argc, char *argv[])
int ch, i, error, chunksize, overwrite = 0, flags;
optind = 0;
- while ((ch = getopt(argc, argv, "op:r:w:")) != -1)
+ while ((ch = getopt(argc, argv, "fp:r:w:")) != -1)
switch (ch) {
- case 'o':
+ case 'f':
overwrite = 1;
break;
case 'p':