Permalink
Browse files

Merge pull request #133 from jeromedecoster/argument-not-used

removed unused arguments
  • Loading branch information...
2 parents 7f84472 + 028f5b0 commit 6b4cf8e1548050029fa2f40f7652268dd6481a2d @tj committed Jul 9, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/n
View
6 bin/n
@@ -401,14 +401,14 @@ else
case $1 in
-V|--version) display_n_version ;;
-h|--help|help) display_help ;;
- --latest) display_latest_version $2; exit ;;
- --stable) display_latest_stable_version $2; exit ;;
+ --latest) display_latest_version; exit ;;
+ --stable) display_latest_stable_version; exit ;;
bin|which) display_bin_path_for_version $2; exit ;;
as|use) shift; execute_with_version $@; exit ;;
rm|-) remove_version $2; exit ;;
latest) install_node `n --latest`; exit ;;
stable) install_node `n --stable`; exit ;;
- ls|list) display_remote_versions $2; exit ;;
+ ls|list) display_remote_versions; exit ;;
prev) activate_previous; exit ;;
*) install_node $@; exit ;;
esac

0 comments on commit 6b4cf8e

Please sign in to comment.