Ignore:
Timestamp:
08/04/10 09:23:35 (4 years ago)
Author:
lowjoel
Message:

Make the generation of help text for addtask parameters done by the plugins, since the arguments are passed to them, they should document their own CLIs. To do this, the ICliConfigurer interface was modified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser/Strings.en.resx

    r2227 r2232  
    160160    <value>Another instance of Eraser is already running but it is running with higher privileges than this instance of Eraser. Tasks cannot be added in this manner.\n\nClose the running instance of Eraser and start it again without administrator privileges, or run the command again as an administrator.</value> 
    161161  </data> 
    162   <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=&lt;methodGUID&gt;] [/schedule=(now|manually|restart)] (recyclebin | unused=&lt;volume&gt; | dir=&lt;directory&gt; | file=&lt;file&gt;)[...]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n  recyclebin          Erases files and folders in the recycle bin\r\n  unused              Erases unused space in the volume.\r\n    optional arguments: unused=&lt;drive&gt;[,clusterTips[=(true|false)]]\r\n      clusterTips     If specified, the drive's files will have their\r\n                      cluster tips erased. This parameter accepts a Boolean\r\n                      value (true/false) as an argument; if none is specified\r\n                      true is assumed.\r\n  dir                 Erases files and folders in the directory\r\n    optional arguments: dir=&lt;directory&gt;[,-excludeMask][,+includeMask][,deleteIfEmpty]\r\n      excludeMask     A wildcard expression for files and folders to\r\n                      exclude.\r\n      includeMask     A wildcard expression for files and folders to\r\n                      include.\r\n                      The include mask is applied before the exclude mask.\r\n      deleteIfEmpty   Deletes the folder at the end of the erasure if it is\r\n                      empty.\r\n  file                Erases the specified file\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist (file)[...]\r\n\r\n  [file]              A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
    163     <value>usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=&lt;methodGUID&gt;] [/schedule=(now|manually|restart)] (recyclebin | unused=&lt;volume&gt; | dir=&lt;directory&gt; | file=&lt;file&gt;)[...]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n  recyclebin          Erases files and folders in the recycle bin\r\n  unused              Erases unused space in the volume.\r\n    optional arguments: unused=&lt;drive&gt;[,clusterTips[=(true|false)]]\r\n      clusterTips     If specified, the drive's files will have their\r\n                      cluster tips erased. This parameter accepts a Boolean\r\n                      value (true/false) as an argument; if none is specified\r\n                      true is assumed.\r\n  dir                 Erases files and folders in the directory\r\n    optional arguments: dir=&lt;directory&gt;[,-excludeMask][,+includeMask][,deleteIfEmpty]\r\n      excludeMask     A wildcard expression for files and folders to\r\n                      exclude.\r\n      includeMask     A wildcard expression for files and folders to\r\n                      include.\r\n                      The include mask is applied before the exclude mask.\r\n      deleteIfEmpty   Deletes the folder at the end of the erasure if it is\r\n                      empty.\r\n  file                Erases the specified file\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist (file)[...]\r\n\r\n  [file]              A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line.</value> 
     162  <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=&lt;methodGUID&gt;] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where target is:\r\n{0}\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist (file)[...]\r\n\r\n  [file]              A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
     163    <value>usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=&lt;methodGUID&gt;] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where target is:\r\n{0}\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist (file)[...]\r\n\r\n  [file]              A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line.</value> 
    164164  </data> 
    165165  <data name="Eraser {0}\r\n(c) 2008-2010 The Eraser Project\r\nEraser is Open-Source Software: see http://eraser.heidi.ie/ for details.\r\n" xml:space="preserve"> 
Note: See TracChangeset for help on using the changeset viewer.