summaryrefslogtreecommitdiff
path: root/argparse/src/print.rs
diff options
context:
space:
mode:
Diffstat (limited to 'argparse/src/print.rs')
-rw-r--r--argparse/src/print.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/argparse/src/print.rs b/argparse/src/print.rs
deleted file mode 100644
index d0335c5..0000000
--- a/argparse/src/print.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-use Print;
-use action::{IFlagAction, ParseResult};
-
-impl IFlagAction for Print {
- fn parse_flag(&self) -> ParseResult {
- if self.0.ends_with("\n") {
- print!("{}", self.0);
- } else {
- println!("{}", self.0);
- }
- return ParseResult::Exit;
- }
-}