Skip to content

Commit

Permalink
style: remove double blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed Aug 11, 2023
1 parent 012f6d7 commit 31c7b6e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions initool.sml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ datatype result = Output of string | Notification of string | Error of string
fun processFile filterFn filename =
Output ((Ini.stringify o filterFn o Ini.parse o readLines) filename)


val getUsage = " <filename> [<section> [<key> [-v|--value-only]]]"
val existsUsage = " <filename> <section> [<key>]"
val setUsage = " <filename> <section> <key> <value>"
Expand Down Expand Up @@ -160,7 +159,6 @@ fun setCommand [_, filename, section, key, value] =
^ setUsage)
| setCommand [] = setCommand ["set"]


fun deleteCommand [_, filename, section] =
(* Delete section *)
processFile (Ini.select (Ini.RemoveSection section)) filename
Expand All @@ -175,7 +173,6 @@ fun deleteCommand [_, filename, section] =
^ deleteUsage)
| deleteCommand [] = deleteCommand ["delete"]


fun processArgs [] = helpCommand []
| processArgs ("h" :: args) =
helpCommand ("h" :: args)
Expand Down

0 comments on commit 31c7b6e

Please sign in to comment.