When generating manpages, delete outdated targets first.
[gitweb.git] / builtin-runstatus.c
index 7979d612912f629b83d96024d3402df005e53ca3..2db25c88bf648e4d5f2f41502fd29c5f7324e56b 100644 (file)
@@ -1,10 +1,11 @@
-#include "wt-status.h"
+#include "builtin.h"
 #include "cache.h"
+#include "wt-status.h"
 
 extern int wt_status_use_color;
 
 static const char runstatus_usage[] =
-"git-runstatus [--color|--nocolor] [--amend] [--verbose]";
+"git-runstatus [--color|--nocolor] [--amend] [--verbose] [--untracked]";
 
 int cmd_runstatus(int argc, const char **argv, const char *prefix)
 {
@@ -25,6 +26,8 @@ int cmd_runstatus(int argc, const char **argv, const char *prefix)
                }
                else if (!strcmp(argv[i], "--verbose"))
                        s.verbose = 1;
+               else if (!strcmp(argv[i], "--untracked"))
+                       s.untracked = 1;
                else
                        usage(runstatus_usage);
        }