mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-12 05:54:03 +00:00
Adding padding to the usage message
This commit is contained in:
+3
-3
@@ -16,10 +16,10 @@ void usage(char *bin)
|
|||||||
std::cout << "ComSquare:" << std::endl
|
std::cout << "ComSquare:" << std::endl
|
||||||
<< "\tUsage: " << bin << " rom_path [options]" << std::endl
|
<< "\tUsage: " << bin << " rom_path [options]" << std::endl
|
||||||
<< "Options:" << std::endl
|
<< "Options:" << std::endl
|
||||||
<< "\t-c, --cpu: \tEnable the debugger of the CPU." << std::endl
|
<< "\t-c, --cpu: \tEnable the debugger of the CPU." << std::endl
|
||||||
<< "\t-m, --memory: \tEnable the memory viewer panel." << std::endl
|
<< "\t-m, --memory: \tEnable the memory viewer panel." << std::endl
|
||||||
<< "\t-h, --header: \tShow the header of the cartridge." << std::endl
|
<< "\t-h, --header: \tShow the header of the cartridge." << std::endl
|
||||||
<< "\t-b, --bus: \tShow the memory bus's log." << std::endl;
|
<< "\t-b, --bus: \tShow the memory bus's log." << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
void parseArguments(int argc, char **argv, SNES &snes)
|
void parseArguments(int argc, char **argv, SNES &snes)
|
||||||
@@ -28,7 +28,7 @@ void parseArguments(int argc, char **argv, SNES &snes)
|
|||||||
int option_index = 0;
|
int option_index = 0;
|
||||||
static struct option long_options[] = {
|
static struct option long_options[] = {
|
||||||
{"cpu", no_argument, 0, 'c'},
|
{"cpu", no_argument, 0, 'c'},
|
||||||
{"apu", no_argument, 0, 'a' },
|
{"apu", no_argument, 0, 'a'},
|
||||||
{"memory", no_argument, 0, 'm'},
|
{"memory", no_argument, 0, 'm'},
|
||||||
{"header", no_argument, 0, 'h'},
|
{"header", no_argument, 0, 'h'},
|
||||||
{"bus", no_argument, 0, 'b'},
|
{"bus", no_argument, 0, 'b'},
|
||||||
|
|||||||
Reference in New Issue
Block a user