Skip to content
Snippets Groups Projects
Commit a52fb4a6 authored by Jani Nikula's avatar Jani Nikula
Browse files

dim: use ${1:?$usage} for create-workdir argument checking


The benefit of ${1:?$usage} is two-fold. First, it allows enabling of
set -u without errors about unbound variable references. Second, it
provides a uniform error message about missing arguments.

Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent e4b629d1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment