diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-09 21:17:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-10 19:27:18 +0100 |
| commit | 3900fd602f519bc4eaa3ca0ac90f588b0a012aaf (patch) | |
| tree | 4c212f59e36d5b4ca66a5237b7fb6516d95e1517 /src/lib/kdm_cli.h | |
| parent | f8295e6039696cc38f505da5e5549608411124a1 (diff) | |
Use exceptions to handle errors in the KDM CLI.
Diffstat (limited to 'src/lib/kdm_cli.h')
| -rw-r--r-- | src/lib/kdm_cli.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/kdm_cli.h b/src/lib/kdm_cli.h index 1c38b52df..bc094d295 100644 --- a/src/lib/kdm_cli.h +++ b/src/lib/kdm_cli.h @@ -19,4 +19,8 @@ */ -extern int kdm_cli (int argc, char* argv[]); +#include <boost/optional.hpp> +#include <string> + + +extern boost::optional<std::string> kdm_cli (int argc, char* argv[]); |
