mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-21 21:47:54 +00:00
env_parallel.*: Mention --session as an option if environment is too long.
This commit is contained in:
parent
87b9d9fe29
commit
e5fc686b3f
|
@ -233,9 +233,11 @@ env_parallel() {
|
|||
else
|
||||
unset PARALLEL_ENV;
|
||||
_error "Your environment is too big."
|
||||
_error "You can try 2 different approaches:"
|
||||
_error "1. Use --env and only mention the names to copy."
|
||||
_error "2. Try running this in a clean environment once:"
|
||||
_error "You can try 3 different approaches:"
|
||||
_error "1. Run 'env_parallel --session' before you set"
|
||||
_error " variables or define functions."
|
||||
_error "2. Use --env and only mention the names to copy."
|
||||
_error "3. Try running this in a clean environment once:"
|
||||
_error " env_parallel --record-env"
|
||||
_error " And then use '--env _'"
|
||||
_error "For details see: man env_parallel"
|
||||
|
|
|
@ -263,9 +263,11 @@ env_parallel() {
|
|||
else
|
||||
unset PARALLEL_ENV;
|
||||
_error "Your environment is too big."
|
||||
_error "You can try 2 different approaches:"
|
||||
_error "1. Use --env and only mention the names to copy."
|
||||
_error "2. Try running this in a clean environment once:"
|
||||
_error "You can try 3 different approaches:"
|
||||
_error "1. Run 'env_parallel --session' before you set"
|
||||
_error " variables or define functions."
|
||||
_error "2. Use --env and only mention the names to copy."
|
||||
_error "3. Try running this in a clean environment once:"
|
||||
_error " env_parallel --record-env"
|
||||
_error " And then use '--env _'"
|
||||
_error "For details see: man env_parallel"
|
||||
|
|
|
@ -233,9 +233,11 @@ env_parallel() {
|
|||
else
|
||||
unset PARALLEL_ENV;
|
||||
_error "Your environment is too big."
|
||||
_error "You can try 2 different approaches:"
|
||||
_error "1. Use --env and only mention the names to copy."
|
||||
_error "2. Try running this in a clean environment once:"
|
||||
_error "You can try 3 different approaches:"
|
||||
_error "1. Run 'env_parallel --session' before you set"
|
||||
_error " variables or define functions."
|
||||
_error "2. Use --env and only mention the names to copy."
|
||||
_error "3. Try running this in a clean environment once:"
|
||||
_error " env_parallel --record-env"
|
||||
_error " And then use '--env _'"
|
||||
_error "For details see: man env_parallel"
|
||||
|
|
|
@ -213,9 +213,11 @@ env_parallel() {
|
|||
else
|
||||
unset PARALLEL_ENV;
|
||||
_error "Your environment is too big."
|
||||
_error "You can try 2 different approaches:"
|
||||
_error "1. Use --env and only mention the names to copy."
|
||||
_error "2. Try running this in a clean environment once:"
|
||||
_error "You can try 3 different approaches:"
|
||||
_error "1. Run 'env_parallel --session' before you set"
|
||||
_error " variables or define functions."
|
||||
_error "2. Use --env and only mention the names to copy."
|
||||
_error "3. Try running this in a clean environment once:"
|
||||
_error " env_parallel --record-env"
|
||||
_error " And then use '--env _'"
|
||||
_error "For details see: man env_parallel"
|
||||
|
|
|
@ -234,9 +234,11 @@ env_parallel() {
|
|||
else
|
||||
unset PARALLEL_ENV;
|
||||
_error "Your environment is too big."
|
||||
_error "You can try 2 different approaches:"
|
||||
_error "1. Use --env and only mention the names to copy."
|
||||
_error "2. Try running this in a clean environment once:"
|
||||
_error "You can try 3 different approaches:"
|
||||
_error "1. Run 'env_parallel --session' before you set"
|
||||
_error " variables or define functions."
|
||||
_error "2. Use --env and only mention the names to copy."
|
||||
_error "3. Try running this in a clean environment once:"
|
||||
_error " env_parallel --record-env"
|
||||
_error " And then use '--env _'"
|
||||
_error "For details see: man env_parallel"
|
||||
|
|
|
@ -212,9 +212,11 @@ env_parallel() {
|
|||
else
|
||||
unset PARALLEL_ENV;
|
||||
_error "Your environment is too big."
|
||||
_error "You can try 2 different approaches:"
|
||||
_error "1. Use --env and only mention the names to copy."
|
||||
_error "2. Try running this in a clean environment once:"
|
||||
_error "You can try 3 different approaches:"
|
||||
_error "1. Run 'env_parallel --session' before you set"
|
||||
_error " variables or define functions."
|
||||
_error "2. Use --env and only mention the names to copy."
|
||||
_error "3. Try running this in a clean environment once:"
|
||||
_error " env_parallel --record-env"
|
||||
_error " And then use '--env _'"
|
||||
_error "For details see: man env_parallel"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
use strict;
|
||||
use Getopt::Long;
|
||||
$Global::progname="niceload";
|
||||
$Global::version = 20180522;
|
||||
$Global::version = 20180524;
|
||||
Getopt::Long::Configure("bundling","require_order");
|
||||
get_options_from_array(\@ARGV) || die_usage();
|
||||
if($opt::version) {
|
||||
|
|
|
@ -1450,7 +1450,7 @@ sub check_invalid_option_combinations {
|
|||
|
||||
sub init_globals {
|
||||
# Defaults:
|
||||
$Global::version = 20180522;
|
||||
$Global::version = 20180524;
|
||||
$Global::progname = 'parallel';
|
||||
$Global::infinity = 2**31;
|
||||
$Global::debug = 0;
|
||||
|
|
|
@ -1596,9 +1596,9 @@ it to the command.
|
|||
Only used with B<--pipe>.
|
||||
|
||||
|
||||
=item B<--results> I<name>
|
||||
=item B<--results> I<name> (alpha testing)
|
||||
|
||||
=item B<--res> I<name>
|
||||
=item B<--res> I<name> (alpha testing)
|
||||
|
||||
Save the output into files.
|
||||
|
||||
|
@ -2035,7 +2035,7 @@ Use the replacement string I<replace-str> instead of B<{#}> for
|
|||
job sequence number.
|
||||
|
||||
|
||||
=item B<--session> (alpha testing)
|
||||
=item B<--session> (beta testing)
|
||||
|
||||
Record names in current environment in B<$PARALLEL_IGNORED_NAMES> and
|
||||
exit. Only used with B<env_parallel>. Aliases, functions, and
|
||||
|
@ -2330,7 +2330,7 @@ Silent. The job to be run will not be printed. This is the default.
|
|||
Can be reversed with B<-v>.
|
||||
|
||||
|
||||
=item B<--tty> (alpha testing)
|
||||
=item B<--tty> (beta testing)
|
||||
|
||||
Open terminal tty. If GNU B<parallel> is used for starting a program
|
||||
that accesses the tty (such as an interactive program) then this
|
||||
|
|
Loading…
Reference in a new issue