Ignore:
Timestamp:
8/4/2010 9:44:20 AM (22 months ago)
Author:
lowjoel
Message:

Allow the user to specify the Name or the GUID of the erasure method, to increase usability of the CLI. The name can be used as a convenient shorthand, the GUID must be used in the event of ambiguity.

File:
1 edited

Legend:

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

    r2232 r2233  
    160160    <value>(Untranslated)</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)] &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"> 
     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;|&lt;methodName&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 one of more of:\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 &lt;file&gt;[...]\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"> 
    163163    <value>(Untranslated)</value> 
    164164  </data> 
     
    169169    <value>(Untranslated)</value> 
    170170  </data> 
     171  <data name="Ambiguous argument: {0} can be handled by more than one erasure target." xml:space="preserve"> 
     172    <value>(Untranslated)</value> 
     173  </data> 
    171174  <data name="Unknown argument: {0}, skipped." xml:space="preserve"> 
    172175    <value>(Untranslated)</value> 
    173176  </data> 
    174177  <data name="Tasks must contain at least one erasure target." xml:space="preserve"> 
     178    <value>(Untranslated)</value> 
     179  </data> 
     180  <data name="Ambiguous erasure method name: {0} identifies more than one erasure method." xml:space="preserve"> 
     181    <value>(Untranslated)</value> 
     182  </data> 
     183  <data name="The provided Erasure Method '{0}' does not exist." xml:space="preserve"> 
    175184    <value>(Untranslated)</value> 
    176185  </data> 
Note: See TracChangeset for help on using the changeset viewer.