diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 8193e62..b34d374 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,9 +4,6 @@
-
-
-
@@ -55,15 +52,6 @@
-
-
-
-
-
-
-
-
-
@@ -91,16 +79,6 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/client.go b/client.go
index 83b55da..e8c17bb 100644
--- a/client.go
+++ b/client.go
@@ -96,7 +96,7 @@ func (c *Client) commandString() (cmd string, err error) {
fmt.Fprintf(&builder, " -p %d", c.Port())
}
- if c.options.Format != nil || *c.options.Format != ' ' {
+ if c.options.Format != nil && *c.options.Format != ' ' {
fmt.Fprintf(&builder, " -f %c", c.Format())
}