#include <guestfs.h>
#include "fish.h"
+#include "closeout.h"
#include "progname.h"
struct mp {
/* Set global program name that is not polluted with libtool artifacts. */
set_program_name (argv[0]);
+ atexit (close_stdout);
+
enum { HELP_OPTION = CHAR_MAX + 1 };
static const char *options = "a:Df:h::im:nrv?Vx";
usage (0);
default:
- fprintf (stderr, _("%s: unexpected command line option 0x%x\n"),
- program_name, c);
usage (1);
}
}