Alachisoft / NCache

NCache: Highly Scalable Distributed Cache for .NET
http://www.alachisoft.com
Apache License 2.0
651 stars 124 forks source link

help text for the clearcache tool in our install is incomplete #4

Open cori opened 8 years ago

cori commented 8 years ago

version: Alachisoft (R) NCache Utility ClearCache. Version 4.4.0.0 Copyright (C) Alachisoft 2015. All rights reserved.

When I run clearcache.exe /? in a command window the only options I get back are for /G and /? as seen below:

Usage: clearcache cache-id [option[...]].

Argument:
 cache-id
    Specifies the id of the cache.

Option:

 /G /nologo
    Suppresses display of the logo banner.

 /?
    Displays a detailed help screen.

According to an answer to a stackoverflow question [http://stackoverflow.com/a/35175597/8151] about forcing the clear without confirmation, I should expect to see more.

cori commented 8 years ago

just realized that the version we're on may be the problem here.

basitanwer commented 8 years ago

Its there in the code but just missing from the AssemblyInfo.cs

[ArgumentAttribute(@"/F", @"/forceclear",false)]
public  bool S_forceClear
{
      get { return s_forceClear; }
      set { s_forceClear = value; }
}