CLI: --var/--label: accept the usual int./floating point number form v0.18.0
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 9 Oct 2023 14:06:58 +0000 (10:06 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 10 Oct 2023 23:26:28 +0000 (19:26 -0400)
commitb24107691750d6240726c5973b6db59105d65566
treec54ccacf3695fc69ca13a3189896f2ec4a1a2d49
parentdbd84e7433af051baa4629d4564aa5ef078b6934
CLI: --var/--label: accept the usual int./floating point number form

This patch makes the `--var` and `--label` options accept the usual
constant integer and floating point number (just for `--var`) forms of
the Normand language.

For example:

    --var=meow=-45.2e17
    --label=zoom=15ABh
    --var=mix=0b11010010

Also adding the `-v` short option for `--var` and accepting whitespaces
around the `=` of a `--var`/`--label` argument.

Change-Id: I3ecb1e85a68168e2304f550d48fdc6ccd447a706
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/normand/+/11018
Tested-by: jenkins <jenkins@lttng.org>
README.adoc
normand/normand.py
pyproject.toml
This page took 0.023399 seconds and 4 git commands to generate.