diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2019-03-07 15:13:00 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2019-03-07 15:13:00 +0000 |
commit | f113e385a53370c7dfea27af4d3fa01d15c7d020 (patch) | |
tree | d7872032e951d152d3cecea05813068d562ff559 /sbin | |
parent | 7e9618d155de2894541b08bbc0c624b13208eee0 (diff) |
update the error message for the interactive 'n' command to show that
-F or -f is required;
ok krw
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/disklabel/editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index cce04280e24..ac1dc72c5ea 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.354 2019/02/21 14:36:42 otto Exp $ */ +/* $OpenBSD: editor.c,v 1.355 2019/03/07 15:12:59 jmc Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller <millert@openbsd.org> @@ -331,7 +331,7 @@ editor(int f) case 'n': if (!fstabfile) { fputs("This option is not valid when run " - "without the -f flag.\n", stderr); + "without the -F or -f flags.\n", stderr); break; } editor_name(&newlab, arg); |