Good question. I have pinged folks. FWIW, i have used --with-cycles in 0.9.3 in a different context (create_canister), so i am surprised it does not work in this context
The flag was in 0.9.2, it is still in 0.9.3, and it has never been in the docs, which are a work in progress. In general you should trust the output of <command> --help as the final authority on what commands and flags any given CLI tool supports, including dfx. Any major change, along with how to update your existing workflow to accommodate it if necessary, is also going to be documented in the DFX changelog.
If I use the console command to call a function of a canister and use the msg_cycles_available() inside the called canister it always returns 0 on 0.9.3. Prior it returned the sent amount
If you have skipped several versions, and you were not comparing specifically to 0.9.2, then the change you may be observing is that canister commands other than create no longer automatically proxy through the wallet. Wallet proxying is the only way to supply cycles on the command line, as a user principal cannot hold cycles. To replicate the old behavior, you would insert --wallet "$(dfx identity get-wallet)" between canister and call in that command.
Perfect, makes sense. Thank you for your support. I will test your solution tonight and mark your answer as the solution if everythings works as expected!