aboutsummaryrefslogtreecommitdiff
path: root/TODOs.md
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-22 18:04:57 -0300
committerEuAndreh <eu@euandre.org>2021-06-22 18:05:04 -0300
commit298cfec38bd597b3c171f11d0d4451f6134243cf (patch)
tree27dded8f84ae5a43bc4cd18ed089778bfaea8da6 /TODOs.md
parentTODOs.md: Mark #task-ada9b39a-cc42-97b2-bd02-ad9c0adc475c as DONE (diff)
downloadgit-permalink-298cfec38bd597b3c171f11d0d4451f6134243cf.tar.gz
git-permalink-298cfec38bd597b3c171f11d0d4451f6134243cf.tar.xz
src/git-permalink.sh.in: Fix #task-bebbe847-f552-be4b-b886-70a621162b69
The issue wan't with getopts but with my usage of it (well, now that's obvious that the problem wouldn't be in the implementation, but on how I was using). The problem was on: 1) my confusion on when and where to "shift"; 2) make sure to look for the "--help" and "--version" long flags before getopts, because it doesn't know about long flags. Those fixed, the tests are now working again.
Diffstat (limited to 'TODOs.md')
0 files changed, 0 insertions, 0 deletions