Hoffman2:Scripts:switch fsl: Difference between revisions
Jump to navigation
Jump to search
(Created page with " Back to Hoffman2 Scripts == Overview == Use this tool to keep consistent on the FSL version you are using on Hoffman2. == Usage == If you have never us...") |
No edit summary |
||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
===Initialization/Switching=== | |||
If you have never used the tool before, your first usage needs to be to set your FSL version. e.g. | If you have never used the tool before, your first usage needs to be to set your FSL version. e.g. | ||
$ switch_fsl -s 5.0.0 | $ switch_fsl -s 5.0.0 | ||
would set your FSL version to 5.0.0 | would set your FSL version to 5.0.0 | ||
===Checking which version is active=== | |||
You can always check which version you are using with | You can always check which version you are using with | ||
$ switch_fsl -c | $ switch_fsl -c | ||
===Dropping out of the program=== | |||
And if you no longer wish to use the <code>switch_fsl</code> system and instead always use the "current" version | And if you no longer wish to use the <code>switch_fsl</code> system and instead always use the "current" version | ||
$ switch_fsl -d | $ switch_fsl -d | ||
Line 20: | Line 23: | ||
'''NOTE: Whenever you switch FSL versions or remove your self from the switch_fsl program, you need to log out of Hoffman2 and back in for the changes to take full effect.''' | '''NOTE: Whenever you switch FSL versions or remove your self from the switch_fsl program, you need to log out of Hoffman2 and back in for the changes to take full effect.''' | ||
===Help=== | |||
Call the program without any options, or with "-h" or "--help" to see the full usage and help information | Call the program without any options, or with "-h" or "--help" to see the full usage and help information | ||
$ switch_fsl | $ switch_fsl |
Revision as of 19:25, 18 October 2012
Overview
Use this tool to keep consistent on the FSL version you are using on Hoffman2.
Usage
Initialization/Switching
If you have never used the tool before, your first usage needs to be to set your FSL version. e.g.
$ switch_fsl -s 5.0.0
would set your FSL version to 5.0.0
Checking which version is active
You can always check which version you are using with
$ switch_fsl -c
Dropping out of the program
And if you no longer wish to use the switch_fsl
system and instead always use the "current" version
$ switch_fsl -d
will remove you from the program.
NOTE: Whenever you switch FSL versions or remove your self from the switch_fsl program, you need to log out of Hoffman2 and back in for the changes to take full effect.
Help
Call the program without any options, or with "-h" or "--help" to see the full usage and help information
$ switch_fsl Description: switch_fsl easily and cleanly switches between various fsl versions. Usage: switch_fsl [OPTIONS] Options: -h, --help Display this help/usage message -v, --verbose Verbose output -s, --switch VERSION Designate the appropriate fsl version. If switching between versions, you must log out then back it to reset up your environment. Available versions are: 4.0.4, 4.1.0, 4.1.1, 4.1.3, 4.1.4, 4.1.4-dev, 4.1.7, 4.1.8, 4.1.9, 5.0.0 -c, --check Checks for current fsl version being used -d, --delete Stops using this system so you instead use the current version of the tool at all times. You MUST log out and then back in to properly reset your environment. Examples: switch_fsl -s 4.1.0 switch_fsl --switch 4.0.4 switch_fsl -h switch_fsl --check