From fcdd3bba2bcd38b7389378df0b0060b50d2fd808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Tue, 14 Jun 2016 18:40:40 +0200 Subject: [PATCH] Added command-line options to readme file. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 2f3a966..b139a91 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,21 @@ $ plasp domain.pddl problem.pddl > instance.lp $ clingo encodings/pddl-meta-sequential-incremental.lp instance.lp ``` +### Command-Line Interface + +```bash +$ plasp [files] [options] +``` + +`[files]` may be omitted, in which case the input is read from `std::cin`. +The `[options]` are listed below: + +| **option** | **explanation** | +|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------| +| `-l` [ `--language` ] | Specify the input language (`SAS` or `PDDL`). Omit for automatic detection. | +| `--warning-level` arg (=`normal`) | Specify whether to output warnings normally (`normal`), to treat them as critical errors (`error`), or to ignore them (`ignore`). | +| `--color` arg (=`auto`) | Specify whether to colorize the output (`always`, `never`, or `auto`). | + ## Building `plasp` requires a C++14 compiler (preferrably GCC ≥ 6.1 or clang ≥ 3.8), the `boost` libraries (≥ 1.55), and CMake for building.