summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorJakub Guzik <jakubmguzik@gmail.com>2021-02-22 14:47:08 +0100
committerJakub Guzik <jakubmguzik@gmail.com>2021-02-22 14:48:33 +0100
commitd2f3098c6f9068edfe4012387cef2e6d140ef20a (patch)
tree61e731bf1909984463adc2f845ac2ddcd7671328 /pkg/api/server
parent4aaaa6c1df3a1c90a930b97552bcc970d7d99dd4 (diff)
downloadpodman-d2f3098c6f9068edfe4012387cef2e6d140ef20a.tar.gz
podman-d2f3098c6f9068edfe4012387cef2e6d140ef20a.tar.bz2
podman-d2f3098c6f9068edfe4012387cef2e6d140ef20a.zip
--no-header flag implementation for generate systemd
Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_generate.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/api/server/register_generate.go b/pkg/api/server/register_generate.go
index bce5484ab..bbab0ad5f 100644
--- a/pkg/api/server/register_generate.go
+++ b/pkg/api/server/register_generate.go
@@ -32,6 +32,11 @@ func (s *APIServer) registerGenerateHandlers(r *mux.Router) error {
// default: false
// description: Create a new container instead of starting an existing one.
// - in: query
+ // name: noHeader
+ // type: boolean
+ // default: false
+ // description: Do not generate the header including the Podman version and the timestamp.
+ // - in: query
// name: time
// type: integer
// default: 10