Changeset 1579


Ignore:
Timestamp:
01/18/10 10:48:39 (5 years ago)
Author:
lowjoel
Message:

Reviewed the indentation in the Help message and also reviewed the content accuracy of the help message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview/Eraser/Program.cs

    r1566 r1579  
    178178            Console.WriteLine(@"usage: Eraser <action> <arguments> 
    179179where action is 
    180     help                    Show this help message. 
    181     addtask                 Adds tasks to the current task list. 
    182     querymethods            Lists all registered Erasure methods. 
    183     importtasklist          Imports an Eraser Task list to the curren user's Task List. 
     180  help                Show this help message. 
     181  addtask             Adds tasks to the current task list. 
     182  querymethods        Lists all registered Erasure methods. 
     183  importtasklist      Imports an Eraser Task list to the current user's Task 
     184                      List. 
    184185 
    185186global parameters: 
    186     --quiet, -q             Do not create a Console window to display progress. 
     187  --quiet, -q         Do not create a Console window to display progress. 
    187188 
    188189parameters for help: 
    189     eraser help 
    190  
    191     no parameters to set. 
     190  eraser help 
     191 
     192  no parameters to set. 
    192193 
    193194parameters for addtask: 
    194     eraser addtask [--method=<methodGUID>] [--schedule=(now|manually|restart)] (recyclebin | unused=<volume> | dir=<directory> | file=<file>)[...] 
    195  
    196     --method                The Erasure method to use. 
    197     --schedule              The schedule the task will follow. The value must 
    198                             be one of: 
    199             now             The task will be queued for immediate execution. 
    200             manually        The task will be created but not queued for execution. 
    201             restart         The task will be queued for execution when the 
    202                             computer is next restarted. 
    203                             This parameter defaults to now. 
    204     recyclebin              Erases files and folders in the recycle bin 
    205     unused                  Erases unused space in the volume. 
    206         optional arguments: unused=<drive>[,clusterTips[=(true|false)]] 
    207             clusterTips     If specified, the drive's files will have their 
    208                             cluster tips erased. 
    209     dir                     Erases files and folders in the directory 
    210         optional arguments: dir=<directory>[,-excludeMask][,+includeMask][,deleteIfEmpty] 
    211             excludeMask     A wildcard expression for files and folders to 
    212                             exclude. 
    213             includeMask     A wildcard expression for files and folders to 
    214                             include. 
    215                             The include mask is applied before the exclude 
    216                             mask. 
    217             deleteIfEmpty   Deletes the folder at the end of the erasure if it 
    218                             is empty. 
    219     file                    Erases the specified file 
     195  eraser addtask [--method=<methodGUID>] [--schedule=(now|manually|restart)] (recyclebin | unused=<volume> | dir=<directory> | file=<file>)[...] 
     196 
     197  --method            The Erasure method to use. 
     198  --schedule          The schedule the task will follow. The value must be one 
     199                      of: 
     200      now             The task will be queued for immediate execution. 
     201      manually        The task will be created but not queued for execution. 
     202      restart         The task will be queued for execution when the computer 
     203                      is next restarted. 
     204  recyclebin          Erases files and folders in the recycle bin 
     205  unused              Erases unused space in the volume. 
     206    optional arguments: unused=<drive>[,clusterTips[=(true|false)]] 
     207      clusterTips     If specified, the drive's files will have their 
     208                      cluster tips erased. This parameter accepts a Boolean 
     209                      value (true/false) as an argument; if none is specified 
     210                      true is assumed. 
     211  dir                 Erases files and folders in the directory 
     212    optional arguments: dir=<directory>[,-excludeMask][,+includeMask][,deleteIfEmpty] 
     213      excludeMask     A wildcard expression for files and folders to 
     214                      exclude. 
     215      includeMask     A wildcard expression for files and folders to 
     216                      include. 
     217                      The include mask is applied before the exclude mask. 
     218      deleteIfEmpty   Deletes the folder at the end of the erasure if it is 
     219                      empty. 
     220  file                Erases the specified file 
    220221 
    221222parameters for querymethods: 
    222     eraser querymethods 
    223  
    224     no parameters to set. 
     223  eraser querymethods 
     224 
     225  no parameters to set. 
    225226 
    226227parameters for importtasklist: 
    227     eraser importtasklist (file)[...] 
    228  
    229     [file]                  A list of one or more files to import. 
     228  eraser importtasklist (file)[...] 
     229 
     230  [file]              A list of one or more files to import. 
    230231 
    231232All arguments are case sensitive."); 
Note: See TracChangeset for help on using the changeset viewer.