summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeoZhan <[email protected]>2021-04-08 00:20:56 +0800
committerLeoZhan <[email protected]>2021-04-08 00:20:56 +0800
commit4f2ab5c00934c09870a127df353abcd056d17323 (patch)
treefcc89c916e422916f6c35dd2ba5da91f16d487f1
parentbd6844a20d4ddb26d861917f81bde1e884435505 (diff)
refactor: remove unused function
-rw-r--r--usage.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/usage.go b/usage.go
index a741570..776ac03 100644
--- a/usage.go
+++ b/usage.go
@@ -228,7 +228,3 @@ func synopsis(spec *spec, form string) string {
}
return form + " " + spec.placeholder
}
-
-func ptrTo(s string) *string {
- return &s
-}