Mercurial > hg > beaglert
changeset 263:7fe0d7c54bce prerelease
Inverted the meaning of the -f option
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 16 May 2016 15:13:20 +0100 |
parents | b491eb027f82 |
children | 60ccd1fe5a58 |
files | scripts/build_project.sh |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/build_project.sh Mon May 16 14:59:36 2016 +0100 +++ b/scripts/build_project.sh Mon May 16 15:13:20 2016 +0100 @@ -28,10 +28,11 @@ BeagleRT files are found. The -c option passes command-line arguments to the BeagleRT program; enclose the argument string in quotes. - The -f argument runs the project in the foreground of the current terminal, + By default, the project runs in the foreground of the current terminal, within a screen session that can be detached later. The -F argument runs - the project in the foreground of the current terminal, without screen, so - the output can be piped to another destination." + the project in the foreground of the current terminal, without screen, so + the output can be piped to another destination. The -f argument runs it + in a screen in the background, so no output is shown." } OPTIND=1 @@ -42,7 +43,7 @@ ;; c) COMMAND_ARGS=$OPTARG ;; - f) RUN_IN_FOREGROUND=1 + f) RUN_IN_FOREGROUND=0 ;; F) RUN_WITHOUT_SCREEN=1 ;;