X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcmdline.c;h=50214db2717daeac333e2707509c6ea7769bae56;hb=5ff91bd55867848d448c2f09bc7057cc1fb77b18;hp=81ec7d801e3afbfe3d46b0e0b829adef0b98b2ba;hpb=829c9392ee103e34cd81e7c9aee5cdf24d6029dc;p=pspp diff --git a/src/cmdline.c b/src/cmdline.c index 81ec7d801e..50214db271 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "cmdline.h" @@ -28,7 +28,7 @@ #include "alloc.h" #include "error.h" #include "filename.h" -#include "getline.h" +#include "getl.h" #include "main.h" #include "output.h" #include "settings.h" @@ -38,18 +38,21 @@ #include "copyleft.h" #include "glob.h" +#include "gettext.h" +#define _(msgid) gettext (msgid) +#define N_(msgid) msgid + void welcome (void); static void usage (void); char *subst_vars (char *); -static int testing_mode=0; - /* Parses the command line specified by ARGC and ARGV as received by main(). */ void parse_command_line (int argc, char **argv) { + static int testing_mode = 0; static struct option long_options[] = { {"algorithm", required_argument, NULL, 'a'}, @@ -79,7 +82,6 @@ parse_command_line (int argc, char **argv) int c, i; int cleared_device_defaults = 0; - int no_statrc = 0; for (;;) @@ -140,7 +142,7 @@ parse_command_line (int argc, char **argv) config_path = optarg; break; case 'f': - printf(_("%s is not yet implemented."), "-f"); + printf (_("%s is not yet implemented."), "-f"); putchar('\n'); break; case 'h':