From ae08cb62c58759307f395bbc92dcfbf0680b995b Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Wed, 3 Dec 2014 00:40:54 -0500 Subject: [PATCH] Add the env variables to the usage output. --- MasterPassword/C/mpw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MasterPassword/C/mpw.c b/MasterPassword/C/mpw.c index 5059aabf..a4a59734 100644 --- a/MasterPassword/C/mpw.c +++ b/MasterPassword/C/mpw.c @@ -65,6 +65,10 @@ void usage() { " -v l, login | Doesn't currently use a context.\n" " -v a, answer | Empty for a universal site answer or\n" " | the most significant word(s) of the question.\n\n"); + fprintf(stderr, " ENVIRONMENT\n\n" + " MP_USERNAME | The full name of the user.\n" + " MP_SITETYPE | The default password template.\n" + " MP_SITECOUNTER | The default counter value.\n\n"); exit(0); }