Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
William Schpero committed Jun 6, 2016
1 parent d69f6af commit 47f9665
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions statapush.ado
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Version: 3.0
capture program drop statapush
program define statapush
version 12.1
syntax [using/], Message(string) [Token(string) Userid(string)] [Provider(string)] [Attach(string)]
syntax [using/], Message(string) [Token(string) Userid(string)] [Attach(string)] [Provider(string)]

* Load default preferences if token/userid not given
if "`token'" == "" {
Expand Down Expand Up @@ -39,7 +39,7 @@ program define statapush
local attach a("`attach'")
}
else if "`attach'" != "" & lower("`provider'") != "pushbullet" {
display as error "Only 'pushbullet' supports 'attach'"
display as error "Only 'pushbullet' supports 'attach'."
exit 198
}

Expand Down Expand Up @@ -110,7 +110,7 @@ program define _uploadpushbullet, rclass
* Confirm file
quietly capture confirm file "`attach'"
if _rc != 0 {
display as error "File not found: `attach'"
display as error "File not found: `attach'."
exit 601
}

Expand Down

0 comments on commit 47f9665

Please sign in to comment.