alces-software / gridware

tool for compilation and installation of applications and libraries from the Alces Gridware software library
0 stars 0 forks source link

Gridware `-t` and `--tag` options don't work as expected #21

Open RuanEllis opened 6 years ago

RuanEllis commented 6 years ago

When using the -t option to alces gridware install there is an error saying "needless argument" -

[root@login1(buildingtons) 2.10]# al gr insta apps/namd/2.10 --variant=mpi -t=avx2
/opt/clusterware/opt/gridware/vendor/ruby/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:363:in `parse_global_options': needless argument: -t=avx2 (OptionParser::NeedlessArgument)
    from /opt/clusterware/opt/gridware/vendor/ruby/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:65:in `run!'
    from /opt/clusterware/opt/gridware/vendor/ruby/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
    from /opt/clusterware/libexec/actions/gridware:84:in `<main>'

Usage from alces gridware install --help is as follows:

    -t, --tag STRING
        Specify additional build tag

However alces gridware already uses -t:

    -t, --trace
        Display backtrace when an error occurs

Possibly some conflict - using --tag to alces gridware install works OK. Removing the -t option from the help of alces gridware install would probably suffice!