This website works better with JavaScript.
Home
Explore
Help
Sign In
blinkthethings
/
modhex
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Print usage if no arguments
master
Blink The Things
3 years ago
parent
c85c38df76
commit
9ae78197db
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
cmd/modhex.go
+ 5
- 0
cmd/modhex.go
View File
@ -28,6 +28,11 @@ func main() {
}
flag
.
Parse
(
)
if
flag
.
NArg
(
)
<
1
{
flag
.
Usage
(
)
os
.
Exit
(
0
)
}
if
decode
{
// decode was selected
Write
Preview
Loading…
Cancel
Save