virt-ls: Small fix for output of --help option.
[libguestfs.git] / cat / virt-ls.c
index 315fb1f..64e4435 100644 (file)
@@ -1,5 +1,5 @@
 /* virt-ls
- * Copyright (C) 2010 Red Hat Inc.
+ * Copyright (C) 2010-2011 Red Hat Inc.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #include <unistd.h>
 #include <getopt.h>
 #include <fcntl.h>
+#include <locale.h>
 #include <assert.h>
+#include <string.h>
+#include <libintl.h>
 
 #include "progname.h"
 
@@ -59,7 +62,7 @@ usage (int status)
            _("%s: list files in a virtual machine\n"
              "Copyright (C) 2010 Red Hat Inc.\n"
              "Usage:\n"
-             "  %s [--options] -d domname file [dir ...]\n"
+             "  %s [--options] -d domname dir [dir ...]\n"
              "  %s [--options] -a disk.img [-a disk.img ...] dir [dir ...]\n"
              "Options:\n"
              "  -a|--add image       Add image\n"