mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-23 07:31:31 +00:00
bsdlabel: emit deprecation notice when run
Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Reision: https://reviews.freebsd.org/D43586
This commit is contained in:
parent
b6f3cced15
commit
3661658c76
@ -135,6 +135,10 @@ main(int argc, char *argv[])
|
|||||||
error = 0;
|
error = 0;
|
||||||
name = NULL;
|
name = NULL;
|
||||||
|
|
||||||
|
fprintf(stderr,
|
||||||
|
"WARNING: bsdlabel is deprecated and is not available in FreeBSD 15 or later.\n"
|
||||||
|
"Please use gpart instead.\n\n");
|
||||||
|
|
||||||
while ((ch = getopt(argc, argv, "ABb:efm:nRrw")) != -1)
|
while ((ch = getopt(argc, argv, "ABb:efm:nRrw")) != -1)
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'A':
|
case 'A':
|
||||||
|
Loading…
Reference in New Issue
Block a user