/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
#if HAVE_CONFIG_H
#include <yaz/json.h>
#include <yaz/wrbuf.h>
#include <yaz/options.h>
+#include <yaz/backtrace.h>
void usage(const char *prog)
{
int print = 0;
int ret;
char *arg;
+
+ yaz_enable_panic_backtrace(*argv);
while ((ret = options("p", argv, argc, &arg)) != YAZ_OPTIONS_EOF)
{
switch (ret)