On 14-06-2022 14:21 , Solène Rapenne wrote:
Le Tue, 14 Jun 2022 12:52:45 +0100, Matthew <[email protected]> a écrit :Hi Brian, Thanks for your response. I'll use ports@ in future - noted. I understand the fallback to print usage() in the event of passing more than one param, however in my case usage() is being called regardless. I have /usr/ports on my system but I'm not familiar with the build process in OpenBSD ports yet to be able discern what's going on. However, I have built from upstream and behaviour is as expected: me@box:~/free$ ./free total used free Mem: 7.9G 7.3G 545M Swap: 8.1G 0B 8.1G Grateful if you could let me know if I'm doing anything wrong. Many thanks. MatthewI think free is a command available on Linux systems. Maybe you have an alias for free doing free -flag, this wouldn't be triggered when using ./free from sources. Try "type free" to see if it's an alias or the real binary path.
Solène - thank you. That was precisely the problem. I'm a fool for not checking that - apologies. Matthew
