#ifndef SIGROK_CLI_SIGROK_CLI_H
#define SIGROK_CLI_SIGROK_CLI_H
-#include "config.h"
#ifdef HAVE_SRD
/* First, so we avoid a _POSIX_C_SOURCE warning. */
#include <libsigrokdecode/libsigrokdecode.h>
#endif
#include <libsigrok/libsigrok.h>
-#define DEFAULT_OUTPUT_FORMAT "bits:width=64"
+#define DEFAULT_OUTPUT_FORMAT_FILE "srzip"
+#define DEFAULT_OUTPUT_FORMAT_NOFILE "bits:width=64"
#define SAVE_CHUNK_SIZE (512 * 1024)
/* main.c */
extern gchar *opt_input_format;
extern gchar *opt_output_format;
extern gchar *opt_transform_module;
-extern gchar *opt_show;
+extern gboolean opt_show;
extern gchar *opt_time;
extern gchar *opt_samples;
extern gchar *opt_frames;
-extern gchar *opt_continuous;
+extern gboolean opt_continuous;
extern gchar *opt_get;
-extern gchar *opt_set;
+extern gboolean opt_set;
int parse_options(int argc, char **argv);
void show_help(void);