diff options
author | Gabriel Gonzalez <Gabriel439@gmail.com> | 2019-12-13 18:19:24 -0800 |
---|---|---|
committer | Gabriel Gonzalez <Gabriel439@gmail.com> | 2019-12-13 18:19:24 -0800 |
commit | 8c6a05c8c99819dbd85d555cb50596637d57df44 (patch) | |
tree | 2e933aad0b7ccfd172c1ae91bc723c92ff335b3f /lib/cli.nix | |
parent | 183a99734f666b6bd508f4c81e887dbc746fec69 (diff) |
Rename `renderOptions` to `encodeGNUCommandLine`
... as suggested by @edolstra
Diffstat (limited to 'lib/cli.nix')
-rw-r--r-- | lib/cli.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cli.nix b/lib/cli.nix index d794778b21a4f..23fab8ec9703d 100644 --- a/lib/cli.nix +++ b/lib/cli.nix @@ -6,10 +6,10 @@ boilerplate related to command-line construction for simple use cases. Example: - renderOptions { foo = "A"; bar = 1; baz = null; qux = true; v = true; } + encodeGNUCommandLine { foo = "A"; bar = 1; baz = null; qux = true; v = true; } => " --bar '1' --foo 'A' --qux -v" */ - renderOptions = + encodeGNUCommandLine = options: let render = key: value: |