The with truncate_only and with no_log parameters allow you to truncate a log that has become disastrously short of free space.
Neither option provides a means to recover transactions that have committed since the last routine dump.
This example truncates the transaction log for mydb and then dumps the database:
dump transaction mydb with no_log dump database mydb to ...