diff options
-rw-r--r-- | plpbackup/plpbackup.cc | 4 | ||||
-rw-r--r-- | po/de.po | 8 | ||||
-rw-r--r-- | po/sv.po | 8 |
3 files changed, 16 insertions, 4 deletions
diff --git a/plpbackup/plpbackup.cc b/plpbackup/plpbackup.cc index 1dde5e6..2e54021 100644 --- a/plpbackup/plpbackup.cc +++ b/plpbackup/plpbackup.cc @@ -1555,6 +1555,10 @@ main(int argc, char **argv) cerr << _("Backup can only create one archive at a time.") << endl; usage(&cerr); } + if (!(doBackup || doRestore || doFormat)) { + cerr << _("No action specified.") << endl; + usage(&cerr); + } signal(SIGTERM, sig_handler); signal(SIGINT, sig_handler); @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: plptools 0.11\n" -"POT-Creation-Date: 2003-02-05 07:33+0100\n" +"POT-Creation-Date: 2003-02-06 01:39+0100\n" "PO-Revision-Date: 2002-07-16 21:39 CET\n" "Last-Translator: Fritz Elfert <felfert@to.com>\n" "Language-Team: Deutsch <de@li.org>\n" @@ -1648,7 +1648,11 @@ msgstr "Formatier-Modus benötigt mindestens eine Laufwerksangabe." msgid "Backup can only create one archive at a time." msgstr "Die Sicherung kann nur jeweils ein Archiv zu einer Zeit anlegen." -#: plpbackup/plpbackup.cc:1564 plpbackup/plpbackup.cc:1569 +#: plpbackup/plpbackup.cc:1559 +msgid "No action specified." +msgstr "Keine Aktion angegeben." + +#: plpbackup/plpbackup.cc:1568 plpbackup/plpbackup.cc:1573 msgid "plpbackup: could not connect to ncpd" msgstr "plpbackup: Konnte ncpd nicht kontaktieren" @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: plptools 0.11\n" -"POT-Creation-Date: 2003-02-05 07:33+0100\n" +"POT-Creation-Date: 2003-02-06 01:39+0100\n" "PO-Revision-Date: 2002-07-11 09:10+0200\n" "Last-Translator: Daniel Brahneborg <basic@chello.se>\n" "Language-Team: SWEDISH <SE@li.org>\n" @@ -1643,7 +1643,11 @@ msgstr "Formatläget kräver minst en enhetsbokstav." msgid "Backup can only create one archive at a time." msgstr "Backup kan bara skapa ett arkiv i taget." -#: plpbackup/plpbackup.cc:1564 plpbackup/plpbackup.cc:1569 +#: plpbackup/plpbackup.cc:1559 +msgid "No action specified." +msgstr "" + +#: plpbackup/plpbackup.cc:1568 plpbackup/plpbackup.cc:1573 msgid "plpbackup: could not connect to ncpd" msgstr "plpbackup: fick ingen kontakt med ncpd" |