diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -38,6 +38,15 @@ int main(int argc, char **argv) { pg_upgrade(); goto disconnect; } + if(argc == 2 && strcmp(argv[1], "-d") == 0) { + pg_dropall(); + goto disconnect; + } + if(argc == 2 && strcmp(argv[1], "-c") == 0) { + pg_dropall(); + pg_init(); + goto disconnect; + } process(); |