1693d924b3f9ff1a711f2caaab1e7756c6fdea25
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS FS utility tool
4 * FILE: base/applications/cmdutils/fsutil.c
6 * PROGRAMMERS: Pierre Schweitzer <pierre@reactos.org>
11 /* Add handlers here for commands */
12 int DirtyMain(int argc
, const TCHAR
*argv
[]);
13 int FsInfoMain(int argc
, const TCHAR
*argv
[]);
14 static HandlerItem HandlersList
[] =
16 /* Proc, name, help */
17 { DirtyMain
, _T("dirty"), _T("Manipulates the dirty bit") },
18 { FsInfoMain
, _T("fsinfo"), _T("Gathers informations about file systems") },
22 PrintUsage(const TCHAR
* Command
)
24 PrintDefaultUsage(_T(" "), Command
, (HandlerItem
*)&HandlersList
,
25 (sizeof(HandlersList
) / sizeof(HandlersList
[0])));
30 _tmain(int argc
, const TCHAR
*argv
[])
32 return FindHandler(argc
, argv
, (HandlerItem
*)&HandlersList
,
33 (sizeof(HandlersList
) / sizeof(HandlersList
[0])),