2
여러 Posix 플래그를 설정할 수있는 콘솔 어플리케이션을 작성 중입니다.posix 플래그의 이름 지정 규칙
현재 제가 사용하고있는 것입니다. 플래그의 단어는 대시로 연결됩니다 : pflags를 연결하는 낙타 표기법을 사용하여
-p, --broker-port int Broker Port (default 1883)
-u, --broker-url string Broker URL (default "localhost")
-c, --client-id string MQTT Client Id
-r, --room string Room where sensor is located (default "myroom")
-f, --floor string Floor, where room is located (default "basement")
그러나 나는 또한 본 응용 프로그램을.
공식 GNU coding standard은 posix 플래그에서 단어를 연결하는 방법을 지정하지 않습니다.
올바른 방법은 무엇입니까?
감사
는