]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/main.c
Add option to show all options (show-options), and fixing up the version text to...
[ppp.git] / pppd / main.c
index 7e4775226d16eb25c64ee89a01fcaa723d257117..2eec96641696273fe1eb65cce9a683539108cd69 100644 (file)
@@ -364,6 +364,11 @@ main(int argc, char *argv[])
     if (debug)
        setlogmask(LOG_UPTO(LOG_DEBUG));
 
     if (debug)
        setlogmask(LOG_UPTO(LOG_DEBUG));
 
+    if (show_options) {
+       showopts();
+       die(0);
+    }
+
     /*
      * Check that we are running as root.
      */
     /*
      * Check that we are running as root.
      */