From 6aabe676a035d53ac8fe2e03b5b7dc49fe8c68b8 Mon Sep 17 00:00:00 2001 From: Dan Lenski Date: Sun, 20 Dec 2015 19:11:07 -0800 Subject: [PATCH] small documentation clarification --- macchanger.1 | 8 ++++---- src/main.c | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/macchanger.1 b/macchanger.1 index cac1c5e..dbef462 100644 --- a/macchanger.1 +++ b/macchanger.1 @@ -60,16 +60,16 @@ Set random vendor MAC of any kind. .B \-r, \-\-random Set fully random MAC. .TP +.B \-b, \-\-bia +When setting fully random MAC, pretend to be a burned-in-address. If not used, +the MAC will have the locally-administered bit set. +.TP .B \-p, \-\-permanent Reset MAC address to its original, permanent hardware value. .TP .B \-l, \-\-list[=keyword] Print known vendors (with keyword in the vendor's description string). .TP -.B \-b, \-\-bia -When setting fully random MAC pretend to be a burned-in-address. If not used, -the MAC will have the locally-administered bit set. -.TP .B \-m, \-\-mac XX:XX:XX:XX:XX:XX, \-\-mac=XX:XX:XX:XX:XX:XX Set the MAC XX:XX:XX:XX:XX:XX. .SH EXAMPLE diff --git a/src/main.c b/src/main.c index 711ffe7..46bd8d0 100644 --- a/src/main.c +++ b/src/main.c @@ -56,8 +56,8 @@ print_help (void) " -A Set random vendor MAC of any kind\n" " -p, --permanent Reset to original, permanent hardware MAC\n" " -r, --random Set fully random MAC\n" + " -b, --bia Random MAC should appear to be a burned-in-address\n" " -l, --list[=keyword] Print known vendors\n" - " -b, --bia Pretend to be a burned-in-address\n" " -m, --mac=XX:XX:XX:XX:XX:XX Set the MAC XX:XX:XX:XX:XX:XX\n\n" "Report bugs to https://github.com/alobbs/macchanger/issues\n"); } @@ -227,7 +227,8 @@ main (int argc, char *argv[]) /* --bia can only be used with --random */ if (set_bia && !random) { - fprintf (stderr, "[WARNING] Ignoring --bia option that can only be used with --random\n"); + fprintf (stderr, "[WARNING] Ignoring --bia option that only makes sense with --random;\n" + " non-random vendor MACs are already marked as burned-in-address.\n"); } /* Print the current MAC info */