BUG: fixed bug with output option
BUG: fixed bug with output option

Former-commit-id: f06f3ce867d283fcf2c2f3ea9558500c6b851901 [formerly 5ca8515143ea9cf9b23f86c1c7772099a6be37de]
Former-commit-id: b71cf2dfccabca70b6a61d7955813939ac19217b
Former-commit-id: 179639c166f4873611ebd8152d7130274d6cb7cf
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox