hautils: pwd: Do not reassign mode on pwd -L v1 REJECTED

Noah Altunian: 1
 pwd: Do not reassign mode on pwd -L

 1 files changed, 1 insertions(+), 1 deletions(-)
This makes sense. Thank you for the clarification.
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/hare-dev/patches/41669/mbox | git am -3
Learn more about email & git

[PATCH hautils] pwd: Do not reassign mode on pwd -L Export this patch

When ./pwd -L is invoked, mode is reassigned to mode::NORM, which
is the default value. In this case we can simply use 'void'.
 pwd.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pwd.ha b/pwd.ha
index bf095f4..2643629 100644
--- a/pwd.ha
+++ b/pwd.ha
@@ -26,7 +26,7 @@ export fn utilmain() (main::error | void) = {
		const opt = cmd.opts[i];
		switch (opt.0) {
		case 'L' =>
			mode = mode::NORM;
		case 'P' =>
			mode = mode::REAL;
		case => abort();