void usage() { const SIZE_T nCommands = sizeof(_cproc_table) / sizeof(_cproc_table[0]); SIZE_T i; _tprintf( _T("Copyright (C) 2003-2006 XIMETA, Inc.\n") ); for (i = 0; i < nCommands; ++i) { _tprintf(_T(" - ")); PrintCmd(i); _tprintf(_T(" ")); PrintOpt(i); _tprintf(_T("\n")); } }
void usage() { const SIZE_T nCommands = sizeof(_cproc_table) / sizeof(_cproc_table[0]); SIZE_T i; _tprintf( _T("Copyright (C) 2003-2005 XIMETA, Inc.\n") _T("vendorctl: command line vendor-control for NDAS device\n") _T("\n") _T(" usage: vendorctl <command> [options]\n") _T("\n")); for (i = 0; i < nCommands; ++i) { _tprintf(_T(" - ")); PrintCmd(i); _tprintf(_T(" ")); PrintOpt(i); _tprintf(_T("\n")); } _tprintf(_T("\n<NetDisk ID> : 20 characters\n")); _tprintf(_T("<WriteKey> : 5 characters\n")); }