Command line convention – space or no space

By | August 14, 2021

Something I learnt today is that when you are passing flags into a command line application, both these syntaxes are equivalent.

subql-node --log-level=debug
subql-node --log-level debug

What is also interesting is that there are lots of other conventions such as combining all the flags together with no space.

program -a -b -c
program -abc

For more information refer to this useful article:

Leave a Reply

Your email address will not be published. Required fields are marked *