add irc channel to README
[mmh] / uip / whatnow.c
index 45671ed..41c8733 100644 (file)
@@ -32,6 +32,8 @@ static struct swit switches[] = {
        { NULL, 0 }
 };
 
+char *version=VERSION;
+
 /*
 ** Options at the "whatnow" prompt
 */
@@ -102,6 +104,8 @@ main(int argc, char **argv)
        /* read user profile/context */
        context_read();
 
+       advise(NULL, "whatnow is deprecated. Consider switching to whatnow2.");
+
        arguments = getarguments(invo_name, argc, argv, 1);
        argp = arguments;