Ejemplo n.º 1
0
 public string GetUsage()
 {
     var help = new CommandLine.Text.HelpText(new CommandLine.Text.HeadingInfo("Ldg", "1.1"));
      help.Copyright = new CommandLine.Text.CopyrightInfo("Gruppo Ragni", 2009, 2014);
      help.AddPreOptionsLine("by ODV");
      help.AddPreOptionsLine("====================");
      help.AddPreOptionsLine("Usage: Ldg -a createresult -y 2011 -d ../../db/ldg.sqlite -c ../../doc/cat.cvs -");
      help.AddOptions(this);
      return help;
 }
Ejemplo n.º 2
0
        public string GetUsage()
        {
            var help = new CommandLine.Text.HelpText();

            help.AdditionalNewLineAfterOption = true;
            help.AddDashesToOption            = true;

            help.AddPreOptionsLine("Usage:\r\n" +
                                   "  cocr.exe -d TARGET_DIR -k YOUR_GOOGLE_API_KEY " +
                                   "  [-l LANGUAGE_HINTS] [-b] [-c] [-s] [--help]");
            help.AddOptions(this);
            return(help);
        }
Ejemplo n.º 3
0
        public string GetUsage()
        {
            var help = new CommandLine.Text.HelpText
            {
                Heading           = new CommandLine.Text.HeadingInfo("Plugin: #b#Bomerman##"),
                AddDashesToOption = false,
            };

            help.AddPreOptionsLine("Versionr plugin for dealing with merges with dirty whitespace/newlines/BOM changes.\n\n#b#Commands:");
            help.ShowHelpOption = false;
            help.AddOptions(this);
            return(help);
        }
Ejemplo n.º 4
0
        public string GetUsage()
        {
            var help = new CommandLine.Text.HelpText
            {
                Heading           = new CommandLine.Text.HeadingInfo("Plugin: #b#Svgdag##"),
                AddDashesToOption = false,
            };

            help.AddPreOptionsLine("Outputs a directed acyclic graph of version metadata in svg format.\n\n#b#Commands:");
            help.ShowHelpOption = false;
            help.AddOptions(this);
            return(help);
        }