2014-02-11 11:26:28 +01:00
|
|
|
//
|
|
|
|
void nop()
|
|
|
|
{
|
|
|
|
// nop
|
|
|
|
}
|
|
|
|
|
|
|
|
void good_bye()
|
|
|
|
{
|
2014-02-11 14:33:40 +01:00
|
|
|
ERR_CONTEXT(ret_good_bye);
|
2014-02-11 11:26:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void verbose()
|
|
|
|
{
|
|
|
|
MIN_ARGUMENTS(1);
|
|
|
|
ARG_IS_OF_TYPE(0, cmd_number);
|
|
|
|
g_verbose = (int)getf();
|
|
|
|
}
|
|
|
|
|
|
|
|
void help()
|
|
|
|
{
|
2014-02-12 11:26:26 +01:00
|
|
|
for(unsigned int i=0; i<sizeof(_keywords)/sizeof(_keywords[0]); i++)
|
2014-02-11 11:26:28 +01:00
|
|
|
if (_keywords[i].comment.size() != 0)
|
2014-02-11 14:33:40 +01:00
|
|
|
cout<<_keywords[i].name<<"\t"<<_keywords[i].comment<<endl;
|
2014-02-11 11:26:28 +01:00
|
|
|
cout<<endl;
|
|
|
|
cout<<"Current verbosity is "<<g_verbose<<endl<<endl;
|
|
|
|
cout<<endl;
|
|
|
|
}
|
|
|
|
|
2014-02-11 14:33:40 +01:00
|
|
|
void test();
|