Permalink
Browse files

removed some over-zealous tweaking :) and updated the README file

  • Loading branch information...
1 parent a868b8f commit 5b8cb3b7c8ea4a91a6dfe78415dbbe808ee33157 @rippinrobr committed Feb 13, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 README.md
  2. +1 −1 src/cljclr/tools/cli.clj
  3. +2 −2 test/cljclr/tools/cli_test.clj
View
@@ -1,4 +1,4 @@
-** cljclr.tools.cli ** is a command line argument parser for ClojureCLR
+**cljclr.tools.cli** is a command line argument parser for ClojureCLR
This is a port of the clojure.tools.cli library to ClojureCLR. The clojure.tools.cli project is at https://github.com/clojure/tools.cli. The project contains the following notice:
View
@@ -31,7 +31,7 @@
(not (.StartsWith v "--no-"))) ;RR: .startsWith
(defn opt? [^String x]
- (.StartsWith (str x) "-")) ;RR: .startsWith and (str x))
+ (.StartsWith x "-")) ;RR: .startsWith
(defn flag? [^String x]
(.StartsWith x "--[no-]")) ;RR: .startsWith
@@ -92,5 +92,5 @@
(is (= ["filename"] args))))
;; RR Added after using the lib in a sample app. Threw an error on char conversion
-(deftest clr-specific
- (is (= true (opt? (first "-")))))
+;(deftest clr-specific
+; (is (= true (opt? (first "-")))))

0 comments on commit 5b8cb3b

Please sign in to comment.