Project

General

Profile

Actions

Bug #1081

closed

lttng-create behaviour does not match its command-line specification

Added by Daniel U. Thibault almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
12/14/2016
Due date:
% Done:

100%

Estimated time:

Description

The lttng-create (2.9) synopsis reads in part:

Live mode:

lttng [GENERAL OPTIONS] create --live[=DELAYUS] [--shm-path=PATH]
      [--set-url=URL | --ctrl-url=URL --data-url=URL] [SESSION]

Which means this should be legal:

lttng create --live testsession

This is what we actually get:

$ lttng create --live testsession
Error: Wrong value in --live parameter: testsession
Error: Command error

Either the code of lttng-create should be changed to correctly process its command line, or its man pages need to be adjusted.

Actions

Also available in: Atom PDF