Skip to content
This repository has been archived by the owner on Dec 28, 2018. It is now read-only.

Commit

Permalink
2010-03-03 Mario Carrion <mario@carrion.mx>
Browse files Browse the repository at this point in the history
In /:
	* bin/pcl: Using working directory when no arguments are used.
  • Loading branch information
Mario Carrion committed Mar 3, 2010
1 parent 925d62e commit 2c1bacd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2010-03-03 Mario Carrion <mario@carrion.mx>

* bin/pcl: Using working directory when no arguments are used.

2010-03-02 Mario Carrion <mario@carrion.mx>

* bin/pcl,
Expand Down
3 changes: 1 addition & 2 deletions bin/pcl
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ end

if options[:path].nil?
if ARGV.count == 0
puts "abort: Path missing."
exit 0
options[:path] = Dir.pwd
else # We set the first argument as path
options[:path] = ARGV[0]
end
Expand Down

0 comments on commit 2c1bacd

Please sign in to comment.