Ignore:
Timestamp:
8/4/2010 9:23:35 AM (22 months 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.DefaultPlugins/ErasureTargets/UnusedSpaceErasureTargetConfigurer.cs

    r2229 r2232  
    128128        #region ICliConfigurer<ErasureTarget> Members 
    129129 
    130         public void Help() 
    131         { 
    132             throw new NotImplementedException(); 
     130        public string Help() 
     131        { 
     132            return S._(@"unused              Erases unused space in the volume. 
     133  arguments: unused=<drive>[,clusterTips[=(true|false)]] 
     134  clusterTips     If specified, the drive's files will have their 
     135                  cluster tips erased. This parameter accepts a Boolean 
     136                  value (true/false) as an argument; if none is specified 
     137                  true is assumed."); 
    133138        } 
    134139 
Note: See TracChangeset for help on using the changeset viewer.