polycube icon indicating copy to clipboard operation
polycube copied to clipboard

CLI help doesn't work when there is a single character name file

Open acloudiator opened this issue 7 years ago • 0 comments

It is a quite strange issue, if there is a filename with a single-character name in the folder where invoking CLI, the help commands do not work:

$ echo "It does not matter what you put here" > a $ polycubectl ? # gives "no service present with name a" $ polycubectl router add r0 $ polycubectl r0 ? # gives "404 Not Found" This is because the the ? is a bash special character is bash used as a single-character wild card [1]

This is not that important, I am only opening the issue to keep track of this in case somebody hits this problem.

[1] https://www.tldp.org/LDP/abs/html/special-chars.html

-Mauricio

acloudiator avatar Dec 18 '18 19:12 acloudiator