diff options
author | Michal Čihař <michal@cihar.com> | 2009-08-13 15:20:31 +0200 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2009-08-13 15:20:31 +0200 |
commit | 899004145ccbeacd5619fd80990d5939f85c6874 (patch) | |
tree | 6b0182241050395ee4a1f5d307305b949fbf3320 /gammu/gammu.c | |
parent | 664421ce6e2236b85b5a3c8c0f3c5fbcb5808ae4 (diff) |
Imported Upstream version 1.25.91
Diffstat (limited to 'gammu/gammu.c')
-rw-r--r-- | gammu/gammu.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gammu/gammu.c b/gammu/gammu.c index 9d7def2..8c367ab 100644 --- a/gammu/gammu.c +++ b/gammu/gammu.c @@ -311,7 +311,7 @@ static void CheckVersion(int argc, char *argv[]) size_t i; if (argc >= 3) { - if (strcasecmp(argv[2], "stable") == 0) { + if (strcasecmp(argv[2], "STABLE") == 0) { checktest = FALSE; } } @@ -502,11 +502,11 @@ void Help(int argc, char *argv[]); static GSM_Parameters Parameters[] = { /* *INDENT-OFF* */ - {"help", 0, 1, Help, {H_Gammu,0}, ""}, + {"help", 0, 1, Help, {H_Gammu,0}, "[topic]"}, {"identify", 0, 0, Identify, {H_Info,0}, ""}, {"version", 0, 0, Version, {H_Gammu,0}, ""}, {"features", 0, 0, Features, {H_Gammu,0}, ""}, - {"checkversion", 0, 1, CheckVersion, {H_Gammu,0}, "[stable]"}, + {"checkversion", 0, 1, CheckVersion, {H_Gammu,0}, "[STABLE]"}, {"checkfirmware", 0, 0, CheckFirmware, {H_Info,0}, ""}, {"getdisplaystatus", 0, 0, GetDisplayStatus, {H_Info,0}, ""}, {"monitor", 0, 1, Monitor, {H_Info,H_Network,H_Call,0}, "[times]"}, @@ -545,6 +545,7 @@ static GSM_Parameters Parameters[] = { {"listmemorycategory", 1, 1, ListMemoryCategory, {H_Memory, H_Category,0}, "text|number"}, {"getfmstation", 1, 2, GetFMStation, {H_FM,0}, "start [stop]"}, {"getsmsc", 0, 2, GetSMSC, {H_SMS,0}, "[start [stop]]"}, + {"setsmsc", 2, 2, SetSMSC, {H_SMS,0}, "location number"}, {"getsms", 2, 3, GetSMS, {H_SMS,0}, "folder start [stop]"}, {"deletesms", 2, 3, DeleteSMS, {H_SMS,0}, "folder start [stop]"}, {"deleteallsms", 1, 1, DeleteAllSMS, {H_SMS,0}, "folder"}, |