From 1fbcf98e474f912e5df2c531b51d5814fe933d61 Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Tue, 21 Jun 2022 14:14:24 +0200 Subject: [PATCH] Update usage information Signed-off-by: Nicolas Bock --- README.rst | 16 ++++++++++++---- ebuildtester/parse.py | 3 ++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 91ee161..ec1251c 100644 --- a/README.rst +++ b/README.rst @@ -75,13 +75,14 @@ The command understands the following command line arguments: [--install-basic-packages] [--threads N] [--use USE [USE ...]] [--global-use GLOBAL_USE [GLOBAL_USE ...]] [--unmask ATOM] [--unstable] [--gcc-version VER] [--python-single-target PYTHON_SINGLE_TARGET] - [--python-targets PYTHON_TARGETS] [--rm] - [--storage-opt STORAGE_OPT [STORAGE_OPT ...]] [--with-X] [--with-vnc] - [--profile PROFILE] [--docker-image DOCKER_IMAGE] [--pull] + [--python-targets PYTHON_TARGETS] [--rm] [--storage-opt STORAGE_OPT [STORAGE_OPT ...]] + [--with-X] [--with-vnc] [--profile PROFILE] [--features FEATURES [FEATURES ...]] + [--docker-image DOCKER_IMAGE] [--docker-command DOCKER_COMMAND] [--pull] + [--show-options] [--ccache CCACHE_DIR] A dockerized approach to test a Gentoo package within a clean stage3. - optional arguments: + options: -h, --help show this help message and exit --version show program's version number and exit --atom ATOM [ATOM ...] @@ -113,9 +114,16 @@ The command understands the following command line arguments: --with-X Globally enable the X USE flag --with-vnc Install VNC server to test graphical applications --profile PROFILE The profile to use (default = default/linux/amd64/17.1) + --features FEATURES [FEATURES ...] + Set FEATURES, see https://wiki.gentoo.org/wiki/FEATURES (default = ['-sandbox', + '-usersandbox', 'userfetch']) --docker-image DOCKER_IMAGE Specify the docker image to use (default = gentoo/stage3) + --docker-command DOCKER_COMMAND + Specify the docker command --pull Download latest docker image + --show-options Show currently selected options and defaults + --ccache CCACHE_DIR Path to mount that contains ccache cache Developer Instructions ---------------------- diff --git a/ebuildtester/parse.py b/ebuildtester/parse.py index 22d66d0..dec8e2e 100644 --- a/ebuildtester/parse.py +++ b/ebuildtester/parse.py @@ -132,7 +132,8 @@ def parse_commandline(args): action="store_true") parser.add_argument( "--ccache", - help="Ccache path to mount into docker container") + metavar="CCACHE_DIR", + help="Path to mount that contains ccache cache") if '--complete' in args: print('Suggesting')